bin/kafka-topics.sh --zookeeper 127.0.0.1:2181 --list //查看topic
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list //查看消费组
bin/kafka-consumer-groups.sh -bootstrap-server localhost:9092 --describe --group name//查看消费情况
bin/kafka-topics.sh --zookeeper 127.0.0.1:2181 --list //查看topic
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list //查看消费组
bin/kafka-consumer-groups.sh -bootstrap-server localhost:9092 --describe --group name//查看消费情况