You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now with these settings, publishing to this topic with a producer acks set to 0 or 1 should work, but fail with acks set to -1 or all (according to the docs, and indeed this behavior is honored by kafka-console-producer.sh).
With my producer however, nothing is ever published successfully. The logs output lines such as this one:
I'm trying to set the
request.required.acks
property on a producer, my code looks like this:It seems to be set correctly, when I start my producer, I see this in the logs:
As a test case, I created a topic with a replication factor lower than
min.insync.replicas
:Now with these settings, publishing to this topic with a producer
acks
set to 0 or 1 should work, but fail withacks
set to -1 orall
(according to the docs, and indeed this behavior is honored bykafka-console-producer.sh
).With my producer however, nothing is ever published successfully. The logs output lines such as this one:
So either
extraProps
are (sometimes ?) not passed down to librdkafka correctly, or something is overriding this specific property somewhere else.Any idea what might be happening here ?
The text was updated successfully, but these errors were encountered: