how many producers do you have?  there was a bug with older versions of
kafka (don't know if it's fixed in release version, I'd have to dig up the
issue) where if you don't have message id set when you produce the message,
it will only send to one partition at a time.  if you have more than 1
producer at a time then each would write to a separate partition.

On Wed, Oct 1, 2014 at 7:31 AM, Jacky <[email protected]> wrote:

> Anyone has idea? Thank you
>
> Sent from my iPhone
>
> > On Sep 30, 2014, at 1:45 PM, Jiang Jacky <[email protected]> wrote:
> >
> > Hi, Guys
> > It is very weird, I created a topic with 2 partitions couple weeks ago,
> and I can only production the message to partition 0, not partition 1, but
> for now, I created a new topic again with 2 partitions, it does work.
> > So whats problem of the old topic? I tried to describe the old topic, I
> found the following message
> >
> >         Topic: xxxx      Partition: 0    Leader: 1       Replicas: 1
>  Isr: 1
> >         Topic: xxxx      Partition: 1    Leader: 2       Replicas: 2
>  Isr: 2
> >
> > Please let me know, if the topic is screwed up.
> >
> > Thank you
> >
> >
>

Reply via email to