I just have the same situation as you and i have just fixed this problem. So you can check for a running. Please build the project first e.g.
抛弃 zookeeper 的原因 简而言之:老方案已经开始限制 kafka 未来的发展空间了。 具体. Simply create a file with name myid in zookeeper data dir (you can check it's location in zookeeper config file) and place the id of this server into it. I was trying to run kafka on windows machine and when i try to start the zookeeper i am facing this weird error:
It is the reason that you have configured even number of zookeepers which directly result in this problem,try to change. 10 zookeeper is just a java process and when you start a zookeeper instance it runs a org.apache.zookeeper.server.quorum.quorumpeermain class. If you look closely, you'll notice that the command to start zookeeper is: The use cases i’ve read are implementing a.
Zookeeper 集群 通常由 3 台或更多的机器组成,集群中的每台机器称为一个 zookeeper 节点(zookeeper server)。 zookeeper 集群的工作机制是:它会通过 多数派机制 (即 3 台机器.