Open IronLung7 opened 3 years ago
Using kafka-python==2.0.1, and the client_id is set when initializing consumer.
If using consumer.subscribe(topic_l)
, Client-id will in consumer group describe.
if using consumer.assign(TopicPartition)
, Client-id will not in consumer group describe.
Using consumer from kafka-python, there is no client information at consumer group side:
./kafka-consumer-groups.sh --bootstrap-server xxxxxxxx:9092 --describe --group aa Note: This will not show information about old Zookeeper-based consumers.
Consumer group 'aa' has no active members.
TOPIC PARTITION CURRENT-OFFSET LOG-END-OFFSET LAG CONSUMER-ID HOST CLIENT-ID topic-a 0 928 928 0 - - -