[ https://issues.apache.org/jira/browse/KAFKA-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119351#comment-16119351 ]
ASF GitHub Bot commented on KAFKA-5715: --------------------------------------- GitHub user huxihx opened a pull request: https://github.com/apache/kafka/pull/3648 KAFKA-5715: ConsumerGroupCommand should always show partitions in ascending order Currently, ConsumerGroupCommand shows in ascending order for partitions with active consumer assigned, but failed to do so for partitions without consumer assigned. The behavior should keep same. You can merge this pull request into a Git repository by running: $ git pull https://github.com/huxihx/kafka KAFKA-5715 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3648.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 #3648 ---- commit b03c1d65f3187012afc0292453d0f3cfe8258065 Author: huxihx <huxi...@hotmail.com> Date: 2017-08-09T03:15:20Z KAFKA-5715: ConsumerGroupCommand should always show partitions in ascending order. Currently, ConsumerGroupCommand shows in ascending order for partitions with acitve consumer assigned, but failed to do so for partitions without consumer assigned. The behavior should keep same. ---- > ConsumerGroupCommand failed to show in ascending order for partitions without > consumers > ---------------------------------------------------------------------------------------- > > Key: KAFKA-5715 > URL: https://issues.apache.org/jira/browse/KAFKA-5715 > Project: Kafka > Issue Type: Bug > Components: tools > Affects Versions: 0.11.0.0 > Reporter: huxihx > Assignee: huxihx > Priority: Minor > > For active consumer groups, ConsumerGroupCommand shows partitions in > ascending order which is a usually expected behavior for users. But for > inactive groups or partitions without consumer assigned, the tool prints them > in a random order. The behavior should be same for both inactive and active > groups. -- This message was sent by Atlassian JIRA (v6.4.14#64029)