Re: [Keeping equal no of messages in partitions ]

2014-02-01 Thread Abhishek Bhattacharjee
Thanks for that :-) On Sun, Feb 2, 2014 at 12:17 AM, Neha Narkhede wrote: > Thanks for updating the FAQ, Guozhang! > > > On Sat, Feb 1, 2014 at 10:32 AM, Guozhang Wang wrote: > > > Update the FAQ wiki page for this question: > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FA

Re: [Keeping equal no of messages in partitions ]

2014-02-01 Thread Neha Narkhede
Thanks for updating the FAQ, Guozhang! On Sat, Feb 1, 2014 at 10:32 AM, Guozhang Wang wrote: > Update the FAQ wiki page for this question: > > > https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whydataisnotevenlydistributedamongpartitionswhenpartitioningkeyisnotspecified > ? > > > On F

Re: [Keeping equal no of messages in partitions ]

2014-02-01 Thread Guozhang Wang
Update the FAQ wiki page for this question: https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whydataisnotevenlydistributedamongpartitionswhenpartitioningkeyisnotspecified ? On Fri, Jan 31, 2014 at 8:53 PM, Jun Rao wrote: > You can use a customized partitioner and provide a partitionin

Re: [Keeping equal no of messages in partitions ]

2014-01-31 Thread Jun Rao
You can use a customized partitioner and provide a partitioning key in each message. Thanks, Jun On Fri, Jan 31, 2014 at 7:57 AM, Abhishek Bhattacharjee < abhishek.bhattacharje...@gmail.com> wrote: > I want to store equal no.of messages in partitions. For eg. if I have 100 > messages and 2 par

[Keeping equal no of messages in partitions ]

2014-01-31 Thread Abhishek Bhattacharjee
I want to store equal no.of messages in partitions. For eg. if I have 100 messages and 2 partitions for a topic then each partition should have 50 messages. Can someone help me with this I am new to kafka so any help will be appreciated. Thanks, -- *Abhishek Bhattacharjee* *Pune Institute of Comp