Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group test-consumer-group --new-consumer --describe
Exception in thread "main" java.lang.NullPointerException
at org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:50)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
at org.I0Itec.zkclient.ZkConnection.connect(ZkConnection.java:69)
at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1218)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129)
at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:89)
at kafka.utils.ZkUtils$.apply(ZkUtils.scala:71)
at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:54)
at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)