Re: How to set Group Id in SimpleConsumer

2014-02-20 Thread shahab
Thanks a lot Guozhang. Very helpful comment. best, /Shahab On Wed, Feb 19, 2014 at 5:46 PM, Guozhang Wang wangg...@gmail.com wrote: Group management like load balancing only exists in high level consumers, SimpleConsumer do not have the group id settings since it does not have group

How to set Group Id in SimpleConsumer

2014-02-19 Thread shahab
Hi, I just wonder how can I assign GroupId when I use SimpleConsumer ( https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Example) for fetching data from Kafka. Is it the last parameter of SimpleConsumer (leadBroker, a_port, soTimeOut, buffer_size, clientName) ? (i.e.

Re: How to set Group Id in SimpleConsumer

2014-02-19 Thread Guozhang Wang
Group management like load balancing only exists in high level consumers, SimpleConsumer do not have the group id settings since it does not have group management feature. Guozhang On Wed, Feb 19, 2014 at 5:49 AM, shahab shahab.mok...@gmail.com wrote: Hi, I just wonder how can I assign