ci: tcp logger with real logger server#9392
Conversation
Signed-off-by: sn0rt <[email protected]>
bzp2010
left a comment
There was a problem hiding this comment.
For the content, I see no problem. But I have a question: is there any reason why you chose vector?
Simple, easy to configure, well documented. There is another reason why I tried to use Fluentd and encountered a strange case. I spent half a day trying to fix it to no avail. |
OK, @Sn0rt For the first point, that's very good. And for the second point, have you tried fluent bit (it is the next generation of fluentd)? |
I took a brief look at the document construction of fluent-bit, which is not as good as that of vector. My requirement is to cooperate with multiple reporting log formations. fluent-bit does not have an example available out of the box, but vector provides it. In this PR, I expect the vector to become the basic component for the CI log plugins test, and to cooperate with other log plugins later. |
|
@Sn0rt Understand and recognize your position. But I'm not sure if it's the right strategy to keep using Maybe consider adding testing via other log pipeline projects in a future PR. Approved this PR now. |
| @@ -0,0 +1,27 @@ | |||
| -----BEGIN RSA PRIVATE KEY----- | |||
There was a problem hiding this comment.
We'd better move certs to t/certs
Signed-off-by: Sn0rt <[email protected]>
Signed-off-by: Sn0rt <[email protected]>
|
We need to adjust the existing test cases. Currently, the log is forwarded to port 5044, which is a simulated log service. |
copy that. I rewrite some of the tcp-logger test cases. |
Signed-off-by: Sn0rt <[email protected]>
* upstream/master: (42 commits) fix: add `rust-check` target to the makefile for deps pre-checking (apache#9453) test: remove duplicate `proto` unit test file and tweak test case title (apache#9445) feat: proxy-mirror add grpc and grpcs support (apache#9388) test: replace all httpbin upstream (apache#9452) fix: 404 error in ci test (apache#9447) fix: body-transformer plugin return raw body anytime (apache#9446) fix(ci): fips: ensure apisix compiles with openssl3 (apache#9427) chore(deps): bump actions/stale from 7 to 8 (apache#9159) chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0 (apache#8625) chore(test): split the access log of apisix and test server (apache#8819) docs: fix grammar (apache#9395) fix(wolf-rbac): other plugin in consumer not effective when consumer used wolf-rbac plugin (apache#9287) (apache#9298) docs: use shell instead of Python to configure protos resources (apache#9414) docs: add guide to authenticate websocket connections (apache#9369) docs: updated Stream Proxy doc (apache#9367) feat: proxy_rewrite support miltiple regex pattern matching (apache#9194) feat: route-level MTLS (apache#9322) ci: tcp logger with real logger server (apache#9392) fix: always parse domain when host is domain name (apache#9332) docs: CHANGELOG.md Chinese docs lint (apache#9411) ...
Description
#9391
the vector is a popular logger service implemented by
Rustto add the vector as the logger server for receiving the log from the user client.
Checklist