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