main(args: Array[String]): Unit
ConsumerGroupCommand
ConsumerGroupCommand is a standalone command-line application that is used for the following actions:
-
Listing all consumer groups (--list option)
-
Describing a consumer group (
--describeoption) -
Resetting consumer group offsets (
--reset-offsetsoption) -
(only for the old Zookeeper-based consumer API) Deleting consumer group info (
--deleteoption)
ConsumerGroupCommand can be executed as kafka-consumer-groups.sh shell script.
|
Note
|
Quoting Kafka 0.9.0.0:
|
main Method
main parses and checks the command-line arguments (using ConsumerGroupCommandOptions).
main…FIXME
|
Note
|
main creates the old ZkConsumerGroupService when --zookeeper option for the old client API is used.
|
main branches per option used.
-
--list option
-
Describing a consumer group (
--describeoption) -
Resetting consumer group offsets (
--reset-offsetsoption)
|
Caution
|
FIXME |