While I am going through the documentation, I come across the following phrase https://kafka.apache.org/20/documentation.html#basic_ops_consumer_lag
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group my-group
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).
This tool also works with ZooKeeper-based consumers:
bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --describe --group my-group
Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).
What is the difference between non-ZooKeeper-based consumers Vs ZooKeeper based consumers - Is it got to do with java language ( it seems java is referred in the comments ).
- Is it got to do with something like zookeeper consumer connect with zk while non zk connect with the brokers ?
PS : It seems this is not present in 2.5 documentation