Matt, If a consumer rebalances successfully (does not run out of rebalancing attempts) and there is no bug in the rebalancing logic, a partition should always have exactly one consumer/group. Currently, the only way of verifying this is by running the VerifyConsumerRebalance tool in kafka.tools package.
KAFKA-264 would improve this since a consumer would always rebalance successfully and the co-ordinator will ensure that each partition has exactly one consumer/group. Thanks, Neha On Wed, Jun 20, 2012 at 3:16 PM, Bateman, Matt <mabate...@ebay.com> wrote: > Okay, let me ask this another way: How can I detect if a partition has no > consumer? Is there any way to tell outside of manually checking data > post-consumer? > > Thanks, > > Matt > > -----Original Message----- > From: Bateman, Matt [mailto:mabate...@ebay.com] > Sent: Friday, June 15, 2012 5:09 PM > To: kafka-users@incubator.apache.org > Subject: KAFKA-264 > > Hi, > > How likely is the scenario where a rebalance might leave some partitions > without a consumer? Described here > https://cwiki.apache.org/confluence/display/KAFKA/Central+Consumer+Coordination. > > It looks like KAFKA-264 would address this? > > Thanks, > > Matt