Zookeeper 集群 通常由 3 台或更多的机器组成,集群中的每台机器称为一个 zookeeper 节点(zookeeper server)。 zookeeper 集群的工作机制是:它会通过 多数派机制 (即 3 台机器. It is the reason that you have configured even number of zookeepers which directly result in this problem,try to change. The use cases i’ve read are implementing a.
I just have the same situation as you and i have just fixed this problem. I was trying to run kafka on windows machine and when i try to start the zookeeper i am facing this weird error: So you can check for a running.
If you look closely, you'll notice that the command to start zookeeper is: 10 zookeeper is just a java process and when you start a zookeeper instance it runs a org.apache.zookeeper.server.quorum.quorumpeermain class. 抛弃 zookeeper 的原因 简而言之:老方案已经开始限制 kafka 未来的发展空间了。 具体. 28 i’m learning zookeeper and so far i don't understand the purpose of using it for distributed systems that databases can't solve.
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.