Command to determine whether ZooKeeper Server is Leader or Follower
- by utrecht
Introduction
A ZooKeeper Quorum consisting of three ZooKeeper servers has been created.
The zoo.cfg located on all three ZooKeeper servers looks as follows:
maxClientCnxns=50
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can…