[ https://issues.apache.org/jira/browse/KAFKA-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376317#comment-15376317 ]
ASF GitHub Bot commented on KAFKA-3859: --------------------------------------- GitHub user vahidhashemian opened a pull request: https://github.com/apache/kafka/pull/1622 KAFKA-3859: Fix describe group command to report valid status when group is empty With the new consumer, when all consumers of a consumer group are stopped (i.e. the group is empty), the describe consumer group command returns `Consumer group ... is rebalancing.` This PR fixes this issue by distinguishing between when the consumer group is actually rebalancing and when it has no active members. You can merge this pull request into a Git repository by running: $ git pull https://github.com/vahidhashemian/kafka KAFKA-3859 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1622.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1622 ---- commit e3555de77d8235d0230b1a625b7b3f4e494632d4 Author: Vahid Hashemian <vahidhashem...@us.ibm.com> Date: 2016-07-13T23:09:02Z KAFKA-3859: Fix describe group command to report valid status when group is empty With the new consumer, when all consumers of a consumer group are stopped (i.e. the group is empty), the describe consumer group command returns `Consumer group ... is rebalancing.` This PR fixes this issue by distinguishing between when the consumer group is actually rebalancing and when it has no active members. ---- > Consumer group is stuck in rebalancing status > --------------------------------------------- > > Key: KAFKA-3859 > URL: https://issues.apache.org/jira/browse/KAFKA-3859 > Project: Kafka > Issue Type: Bug > Reporter: Vahid Hashemian > Assignee: Vahid Hashemian > > * I have a topic (1 partition) and a producer and new consumer that produce > to and consumer from the topic. > * The consumer belongs to group {{A}}. > * I kill the consumer (whether it has consumed any messages or not does not > seem to be relevant). > * After a short period when group status is processed and finalized, I run > the consumer-group describe command ({{kafka-consumer-groups.sh > --bootstrap-server localhost:9092 --new-consumer --describe --group A}}). > * The response I receive is {{Consumer group `A` is rebalancing.}} > * I keep trying the command but the response does not change. -- This message was sent by Atlassian JIRA (v6.3.4#6332)