Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Re: Consumer group ID for high level consumer


Copy link to this message
-
Re: Consumer group ID for high level consumer
Martin Kleppmann 2014-02-26, 13:01
Hi Binita,

The consumer group (group.id) is a mechanism for sharing the load of consuming a high-volume topic between multiple consumers. If you don't set a group ID, each consumer consumes all the partitions of a topic. If you set several consumers to the same group ID, the partitions of the topic you're consuming will be shared amongst the consumers in that group, so that each message is delivered to only one of the consumers in the group.

You can set the group ID to be whatever you like.

Hope that helps,
Martin

On 25 Feb 2014, at 06:27, Binita Bharati <[EMAIL PROTECTED]> wrote: