kafka 随笔
查看消费群组中信息
bin/kafka-consumer-groups.sh --bootstrap-server 127.0.0.1:9092 --command-config ./config/consumer.properties --describe --group hf-consumer-group
ROUP TOPIC PARTITION CURRENT-OFFSET LOG-END-OFFSET LAG CONSUMER-ID HOST CLIENT-ID
hf-consumer-group hf-topic 0 14087 54449 40362 trafficLog@TEST-ENV (github.com/segmentio/kafka-go)-2094c2e4-4d7b-449b-acbe-6b0ea432ccb0 /10.195.28.176 trafficLog@TEST-ENV (github.com/segmentio/kafka-go)