[ https://issues.apache.org/jira/browse/KAFKA-9479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035110#comment-17035110 ]
ASF GitHub Bot commented on KAFKA-9479: --------------------------------------- vetler commented on pull request #8096: KAFKA-9479 Describe consumer groups with --all-groups now prints head… URL: https://github.com/apache/kafka/pull/8096 KAFKA-9479 Describe consumer groups with --all-groups now prints header only once Describing the consumer groups with --all-groups will now only print the header once, instead of once per entry. The maximum coordinator length is computed first, by looping through the GroupStates in advance, to ensure correct cormatting. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Describe consumer group --all-groups shows header for each entry > ---------------------------------------------------------------- > > Key: KAFKA-9479 > URL: https://issues.apache.org/jira/browse/KAFKA-9479 > Project: Kafka > Issue Type: Improvement > Reporter: Jason Gustafson > Assignee: Jeff Kim > Priority: Major > Labels: newbie > > When using `bin/kafka-consumer-groups.sh --describe --state --all-groups`, we > print output like the following: > {code} > GROUP COORDINATOR (ID) > ASSIGNMENT-STRATEGY STATE #MEMBERS > group1 localhost:9092 (3) range Stable 1 > > > GROUP COORDINATOR (ID) > ASSIGNMENT-STRATEGY STATE #MEMBERS > group2 localhost:9092 (3) range Stable 1 > > > {code} > It would be nice if we did not show the header for every entry. -- This message was sent by Atlassian Jira (v8.3.4#803005)