Ross Black 2013-05-22, 00:42
Jun Rao 2013-05-22, 04:19
Ross Black 2013-05-22, 04:48
Jun Rao 2013-05-22, 15:34
-Re: message ordering guarantees
Neha Narkhede 2013-05-22, 21:20
On May 21, 2013 5:42 PM, "Ross Black" <[EMAIL PROTECTED]> wrote:
> I am using Kafka 0.7.1, and using SyncProducer and SimpleConsumer with a
> single broker service process.
> I am occasionally seeing messages (from a *single* partition) being
> processed out of order to what I expect and I am trying to find where the
> problem lies. The problem may well be in my code - I just would like to
> eliminate Kafka as a potential cause.
> Messages are being sent sequentially from the producer process, using a
> single SyncProducer.
> Does Kafka provide any guarantees for message ordering in this case?
> eg. If The sync producer sends messages A then B then C, does the Kafka
> broker guarantee that messages will be persisted with the order A,B,C?
> If not, is there any way to ensure this ordering?
> Has anything changed in 0.8 that could be used to ensure that ordering?
Ross Black 2013-05-22, 23:51