-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kafka
sink is silently failing
#1842
Comments
In case if So it might be the case, although not sure how much more verbose would the output become if we changed |
Yeah, we should definitely be logging this at the |
I have encountered similar problems, I use file source
If I set max_line_bytes to the default, everything is ok, If I change max_line_bytes to 204800, kafka sink stucks.
/var/log/a.log file size is about 3M, 50~200 bytes each line I suspect it is related to the two configurations of librdkafka
|
Have you tried to increase [sinks.my_kafka_sink]
type = "kafka"
inputs = ["my-source-id"]
bootstrap_servers = "10.14.22.123:9092,10.14.23.332:9092"
key_field = "user_id"
topic = "topic-1234"
encoding = "json"
[sinks.my_kafka_sink.librdkafka_options]
"batch.num.messages" = "1000000000"
"batch.num.messages" = "100" |
@a-rodin reducing |
@linshaoyong Could you please try to run Vector with environment variable |
@a-rodin Due to performance issues, it cannot run continuously. Does the log at the beginning of the program help?About 70 messages in a minute.
|
@linshaoyong The log from the file seems to contain no errors, all messages are delivered. Actually, in the recently released Vector 0.8.0 the default logging level for |
Closing since we haven't made progress on this issue. I hope that #1903 provides info to resolve this issue. |
This was posted in our chat:
This lacks a lot of detail (I'll update if we get more), but it's worth doing an audit of the
kafka
sink to see if we're missing opportunities to log.Related #1818
The text was updated successfully, but these errors were encountered: