Closed
Description
Hey I was wondering if there was any way either in the the kafka tools or a script with the confluent kafka python module to:
- get a list of all consumer groups
- read the current offset of all consumers in a group
When trying to run these commands for ./kafka-consumer-groups.sh it looks like they only work for Java consumers only:
$ ./kafka-consumer-groups.sh --new-consumer --bootstrap-server XXXX:6667 --describe --group 729a8c43-fd73-4fe6-b8e0-b0d73096f30f
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).
./kafka-consumer-groups.sh --new-consumer --bootstrap-server xxxx:6667 --list
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).
logstash
...
Thanks,
Shan