Member since
04-11-2018
2
Posts
0
Kudos Received
0
Solutions
06-07-2018
03:39 PM
In order to list consumers, you can use: /usr/hdp/current/kafka-broker/bin/kafka-consumer-groups.sh --zookeeper <zkHost>:<zkPort> --list Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API). /usr/hdp/current/kafka-broker/bin/kafka-consumer-groups.sh --bootstrap-server <bokerHost:BrokerPort> --list
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers). If you're using kerberos: /usr/hdp/current/kafka-broker/bin/kafka-consumer-groups.sh --bootstrap-server <bokerHost:BrokerPort> --list --new-consumer --command-config /tmp/test.properties cat/tmp/test.properties security.protocol=PLAINTEXTSASL If this answers your query/issue then please mark this HCC thread as answered by clicking on "Accept" link on the correct answer, That way it will help other HCC users to quickly find the answers.
... View more
04-16-2018
05:45 PM
@suresh g /usr/bin/kafka-consumer-groups --zookeeper zk01.example.com:2181 --describe --group <<consumer-group-name>>. This will list all the producers under a given consumer group.
... View more