While starting Kafka getting this following error.
KeeperErrorCode = NoNode for /brokers/topics/test-topic/partitions
Any help will be apreciated.
I found my answer, It is because of version mismatch of zookeeper and kafka. Previously I was using kafka_2.8.0-0.8.0 with zookeeper 3.3.5 but then I installed kafka_2.9.2-0.8.1.1 with zookeeper 3.3.5 and now It's working fine.
Most likely this is because the topic is not created yet. Topic nodes in Zookeeper are created when broker processes the first message to the topic or, alternatively, when the AdminUtils.createTopic(...) call was made.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With