kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax" <matth...@confluent.io>
Subject Re: message ordering within a transaction
Date Tue, 08 Jan 2019 18:03:32 GMT
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.


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 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 possible this will cause messages to be re-ordered
> within the transaction?
> Mark

View raw message