Re: Producer not distributing across all partitions

2013-09-13 Thread Joe Stein
Isn't this a bug? I don't see why we would want users to have to code and generate random partition keys to randomly distributed the data to partitions, that is Kafka's job isn't it? Or if supplying a null value tell the user this is not supported (throw exception) in KeyedMessage like we do for

Producer not distributing across all partitions

2013-09-13 Thread prashant amar
I created a topic with 4 partitions and for some reason the producer is pushing only to one partition. This is consistently happening across all topics that I created ... Is there a specific configuration that I need to apply to ensure that load is evenly distributed across all partitions? Grou

Re: Producer not distributing across all partitions

2013-09-13 Thread Neha Narkhede
Are you using Kafka 07 or 08 ? On Thu, Sep 12, 2013 at 1:56 PM, prashant amar wrote: > I created a topic with 4 partitions and for some reason the producer is > pushing only to one partition. > > This is consistently happening across all topics that I created ... > > Is there a specific config