Kafka series --- [kafka common commands]

Kafka common commands

1. View the list of consumer groups

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

2. View the consumption status details of the specified groupid

#能查看partition,current-offset,log-end-offset,消费者hostip
./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group groupid --describe

Guess you like

Origin blog.csdn.net/weixin_44988127/article/details/131256505