Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2831

kafka-consumer-groups requires zookeeper url when using the new-consumer option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      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)

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              junrao Jun Rao
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: