It appears the bug I was referencing is fixed in the version you're using:
https://issues.apache.org/jira/browse/KAFKA-1183

On Thu, Oct 2, 2014 at 2:00 PM, Jiang Jacky <[email protected]> wrote:

> Hi, So far, I just have 1 producer, and I am using kafka lib
> version 0.8.1.1
> Thank you guys!
>
> 2014-10-01 9:12 GMT-04:00 Nathan Leung <[email protected]>:
>
> 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