Yonghui,

What is the ack mode for the producer clients? And are msg1 and msg2 sent
by the same producer?

Guozhang

On Thu, Nov 19, 2015 at 10:59 PM, Yonghui Zhao <zhaoyong...@gmail.com>
wrote:

> Broker setting is:  8 partitions, 1 replica,  kafka version 0.8.1
>
> We send 2 message at almost same time.
>
> Msg1 first, Msg2 second.
>
> We have more than 1 producers in sync mode.
>
> We may send msg1 in one broker, after *producer.send return response*
> And send msg2 in the other broker.
>
> Both 2 msg has same partition key.
>
> In consumer side, we find the 2 msg is in same partition as expected,  but
> the order is inverted as msg2, msg1.
>
> Is it possible for kafka?
>



-- 
-- Guozhang

Reply via email to