[ https://issues.apache.org/jira/browse/KAFKA-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382518#comment-15382518 ]
Vahid Hashemian commented on KAFKA-3969: ---------------------------------------- Without diving much into the code, I think you might be running the new consumer, in which case the correct consumer group command would be {{bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --new-consumer --list}}. Could you give this one a try? > kafka.admin.ConsumerGroupCommand doesn't show consumer groups > ------------------------------------------------------------- > > Key: KAFKA-3969 > URL: https://issues.apache.org/jira/browse/KAFKA-3969 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.10.0.0 > Reporter: Dieter Plaetinck > > http://kafka.apache.org/documentation.html , at > http://kafka.apache.org/documentation.html#basic_ops_consumer_lag says > " Note, however, after 0.9.0, the kafka.tools.ConsumerOffsetChecker tool is > deprecated and you should use the kafka.admin.ConsumerGroupCommand (or the > bin/kafka-consumer-groups.sh script) to manage consumer groups, including > consumers created with the new consumer API." > I'm sure that i have a consumer running, because i wrote an app that is > processing data, and i can see the data as well as the metrics that confirm > it's receiving data. I'm using kafka 0.10 > Yet when I run the command as instructed, it doesn't list any consumer groups > $ /opt/kafka_2.11-0.10.0.0/bin/kafka-run-class.sh > kafka.admin.ConsumerGroupCommand --zookeeper localhost:2181 --list > $ > So either something is wrong with the tool, or with the docs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)