The consumer group list in the CKafka Console contains consumer group name, but no consumption details are displayed on the details page; for example, the consumer group CR has no details displayed in the figure below:
There are two data consumption modes in Kafka: consumer group mode and custom partition consumption mode.
View the consumer groups of the instance.
]$ bin/kafka-consumer-groups.sh --bootstrap-server 188.8.131.52:9092 --list CR
You should be able to see the names of all current consumer groups.
View the details of a specific consumer group of the instance.
]$ bin/kafka-consumer-groups.sh --bootstrap-server 184.108.40.206:9092 --describe --group CR Note: This will not show information about old Zookeeper-based consumers.
You will find that there are no details for this consumer group, which means that the consumer client did not use the
consumerGroup mechanism to consume data, that is, the client did not submit consumption details to the server. As the server did not store the consumption data, no details will be displayed.
Check whether the problem is caused by the server.
Use the native consumer group command to specify the consumer group
test1 for consumption as shown below:
]$ bin/kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --from-beginning --topic test --group test1
You should be able to see the normally displayed consumer group in the console, and you can run the
--describe command to view the details as shown below: