Hi,

You are correct. The others will remain idle. This is why you generally want to 
have at least the same number of partitions as consumers.




Cheers,

Jens





–
Skickat från Mailbox

On Sat, Jan 16, 2016 at 2:34 AM, Jason J. W. Williams
<jasonjwwilli...@gmail.com> wrote:

> Hi,
> I'm trying to make sure I understand this statement in the docs:
> "Each broker partition is consumed by a single consumer within a given
> consumer group. The consumer must establish its ownership of a given
> partition before any consumption can begin."
> If I have:
> * a topic with 1 partition
> * subscribe a consumer group to the topic
> * the consumer group has 10 consumers belonging to it
> Will only 1 consumer of the 10 ever receive messages from the topic, and
> the other 9 remain idle? Or does this mean only 1 consumer at a time from
> the group will be consuming...in a round-robin fashion?
> -J

Reply via email to