Re: message ordering within a transaction

2019-01-08 Thread Matthias J. Sax
For this case no reordering will occur, but the original send order will be preserved. This is even true without transactions if you use idempotent producer. -Matthias On 1/6/19 6:00 PM, Mark Horton wrote: > I was curious if re-ordering is possible within a transaction? Let's > say a KafkaProduc

message ordering within a transaction

2019-01-06 Thread Mark Horton
I was curious if re-ordering is possible within a transaction? Let's say a KafkaProducer sends 1000 messages to a single partition within a single transaction, and the total size causes more than 1 batch to be sent to the broker. If, for some reason, one of the batches is lost and resent, is it pos