Think before you speak, read before you think.

kafka 查看 group id 和 offset

查看所有 group id

 bin/kafka-consumer-groups.sh --bootstrap-server broker1:9092 --list

描述具体的 group id

 bin/kafka-consumer-groups.sh --bootstrap-server broker1:9092 --describe --group test-consumer-group

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *