kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: key used by producer
Date Mon, 13 May 2013 16:27:09 GMT
Note that the key is provided by the application. Kafka itself makes no
effort to make sure messages are in key order.

Thanks,

Jun


On Mon, May 13, 2013 at 8:34 AM, Yu, Libo <libo.yu@citi.com> wrote:

> Thanks for both of you. The key is actually very useful. If the key
> increases
> monotonically, it can be used as the version of the message. Say version 1
> is sent first followed by version 2. It is possible that version 2 is
> received first
> by the consumer. When version 1 is received, it will be ignored if version
> 2
> has already been received.
>
>
> Regards,
>
> Libo
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message