Re: Kafka exactly-once with multiple producers

2019-02-06 Thread Tim Jiang
producer request > >> will be processed at a time? > > No. There is no reason for this. It's possible that both producer have > an open transaction and write their data interleaved into the topic. > > > -Matthias > > On 2/5/19 5:55 PM, Tim Jiang wrot

Kafka exactly-once with multiple producers

2019-02-05 Thread Tim Jiang
Hi, I'm read this about how Kafka transaction works: https://www.confluent.io/blog/transactions-apache-kafka/ Please help me understand what happens when there are multiple producers are writing to the same topic concurrently? Should all of them use the same transaction id, and if so, does Kafka