topics load balancing within a consumer group

2014-06-03 Thread Weide Zhang
Hi,

I have a question regarding load balancing within a consumer group.

Say I have a consumer group of 4 consumers which subscribe to 4 topics ,
each of which have one partition. Will there be rebalancing happening on
topic level ? Or I will expect consumer 1 have all the data ?

Weide


Re: topics load balancing within a consumer group

2014-06-03 Thread Jun Rao
Currently, we distribute partitions to consumers on a per topic basis. So,
in your cases, consumer 1 will get all the data.

Thanks,

Jun


On Tue, Jun 3, 2014 at 3:11 PM, Weide Zhang weo...@gmail.com wrote:

 Hi,

 I have a question regarding load balancing within a consumer group.

 Say I have a consumer group of 4 consumers which subscribe to 4 topics ,
 each of which have one partition. Will there be rebalancing happening on
 topic level ? Or I will expect consumer 1 have all the data ?

 Weide