Kafka系列---【kafka常用命令】

kafka常用命令

1.查看消费者组列表

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

2.查看指定groupid的消费状态详情

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

猜你喜欢

转载自blog.csdn.net/weixin_44988127/article/details/131256505
今日推荐