Kafka-Consumer-Groups – Kafka CLI Tools
Kafka-Consumer-Groups is a CLI tool which can be used to get the message consumption from Kafka. The tool can be used to get the list of topics and partitions consumed by a consumer group. It also details if a consumer is lagging in consumption of the messages.
First we need to get the list of consumer groups. -list switch is used to get the list of consumer groups.
Now we have the details of a consumer group, we can get the detail of message consumption from the kafka topic and its partitions.
Here is the output: