Zookeeper having KeeperException but Kafka able to create topics and produce/consume

后端 未结 1 1474
小蘑菇
小蘑菇 2021-02-20 00:28

I recently setup Kafka on a single node CDH 5 setup with the aim of playing with it on a single node before moving to a real cluster. Initially, I just started the zookeeper ser

相关标签:
1条回答
  • 2021-02-20 00:56

    I was gettting same issue

    Exiting due to: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /consumers/test-group/offsets/packets/0.
    

    i solved issue,you make sure your zookeeper and kafka broker is running, yes you can create topic and producer consumer will work. to solve error use must have consumer with consumer group and that consumer group suscribed to that topic

    In, your case it will be consumer with consumer group test-consumer-group and suscribed to topic Test

    0 讨论(0)
提交回复
热议问题