Kafka Transaction Producer Sequence Number Conflicts with Idempotent Producers #3015
Unanswered
alexisvisco
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks, we have a problem using transaction to ensure batch messages are either all sent or not sent.
We have a Kafka producer setup that:
We're seeing this error in Kafka logs:
What's puzzling:
I don't know how to fix that because I heavily inspired myself from the example of the txn producer, but I have sync producer instead of async producer.
Here are the configurations of my producer :
I am using the latest version of sarama with kafka 3.8.0.
And by the way I don't understand why AsyncProducer is go to in example with transactions, because having a transaction required to wait to know each messages are sent ? Isn't contradictory ?
Beta Was this translation helpful? Give feedback.
All reactions