1.查询消费者ID:
./kafka-consumer-groups.sh --bootstrap-server 127.0.0.1:9092 --list
2:查看消费情况./kafka-consumer-groups.sh --describe --bootstrap-server 127.0.0.1:9092 --group cdc-consumer-group
TOPIC
PARTITION
CURRENT-OFFSET
LOG-END-OFFSET
LAG
CONSUMER-ID
HOST
CLIENT-ID