Xiaoyu,

A simpler way to do that is to send all produce requests to 1 broker and
configure that broker to have 1 partition per topic.

Jun

On Tue, May 8, 2012 at 12:41 PM, xiaoyu wang <xiaoyu.w...@gmail.com> wrote:

> Hello,
>
> I want to keep the order of record in my topic so I created the producer
> with a partitioner that always returns 0. I have the following questions
>
>
>   - will my topic be stored in 1 broker only?
>   - If so, which broker does my topic go to?
>   - what happens if I change the partitioner later to e.g. random
>   partitoner?
>
>
> Thanks,
>
> -Xiaoyu
>

Reply via email to