Hi Binita,

When you use a group id with a high level consumer, the messages will be
distributed among all consumers sharing the same group. So if you have 3
consumers sharing the same group, each will process 1/3 of the messages
within the group. By contrast, if each of the same 3 consumers used a
different group id, they would each see all of the messages.

Hope that helps,
Steve



On Mon, Feb 24, 2014 at 10:38 PM, Binita Bharati
<binita.bhar...@gmail.com>wrote:

> Hi all,
>
> I am referring to this e.g:
> https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example.
>
> What is the consumer group ID being referred here ?
>
> Thanks
> Binita
>



-- 
Steve Robenalt
Software Architect
HighWire | Stanford University
425 Broadway St, Redwood City, CA 94063

srobe...@stanford.edu
http://highwire.stanford.edu

Reply via email to