You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "maobaolong (Jira)" <ji...@apache.org> on 2019/12/19 08:29:00 UTC

[jira] [Created] (KAFKA-9317) Provide a group admin command to get group information or do some admin operation

maobaolong created KAFKA-9317:
---------------------------------

             Summary: Provide a group admin command to get group information or do some admin operation
                 Key: KAFKA-9317
                 URL: https://issues.apache.org/jira/browse/KAFKA-9317
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 1.0.0
            Reporter: maobaolong


How to run this command
If you have a batch of kafka shell script

bin/kafka-run-class.sh kafka.admin.GroupCommand
If you have only a fat jar

java -cp xxx.jar kafka.admin.GroupCommand
The following sub cmd is supported
sub cmd	description	argument example
list	list group	--bootstrap-server localhost:9099 --list
describe	describe group and show group member.	--bootstrap-server localhost:9092 --describe --group producer-xxxxxx-127.0.0.1
leaveGroup	leave specify member from a given group, star means all	--bootstrap-server localhost:9092 --leaveGroup --group producer-xxxxx-127.0.0.1 --memberId \*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)