New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka sink healthcheck is not working with templated topic #10465
Comments
Maybe i'm wrong, but 'topic' is a type of 'String' , and cannot be set by the template value |
Ref: #10465 (comment) Signed-off-by: Jesse Szwedko <[email protected]>
It is actually templatable but the docs didn't indicate that. I opened #10628 to fix that. |
Ref: #10465 (comment) Signed-off-by: Jesse Szwedko <[email protected]>
I think the issue here is that the healthcheck for the sink emits this warning if you are using the templated value for the topic. (presumably because the healthcheck is generated internally and does not know what topic to use? |
Yes, that's correct. We probably need new parameter to set healtcheck topic. |
Community Note
Vector Version
Vector Configuration File
Debug Output
Expected Behavior
Healthcheck should use some default topic. Either by adding new parameter, eg.
healthcheck.topic
or better by having parameter for default topic to catch events where templated topic doesn't match.Actual Behavior
WARN vector::sinks::kafka::sink: Could not generate topic for healthcheck. error=Missing fields on event: ["_topic"]
Example Data
Additional Context
References
The text was updated successfully, but these errors were encountered: