Hi Enrico, You can determine the state of a server it via 4-letter commands. Would that work for you?
-Flavio > On 8 May 2018, at 09:09, Enrico Olivelli <eolive...@gmail.com> wrote: > > Hi, > is there any way to see in JMX which is the leader of a ZooKeeper cluster? > > My problem is: given access to any of the nodes of the cluster I want to > know from JMX which is the current leader. > It seems to me that this information is not available, you can know only if > the local node is Leader or Follower. > > Cheers > Enrico