If you are using LeaderSelector, then each client can check with
hasLeadership().

If you want to the status without consulting all of the clients, there are
getParticipants and getLeader.

Does that make sense?

Mike


On Thu, Aug 28, 2014 at 12:05 PM, Vitalii Tymchyshyn <[email protected]> wrote:

> Hello.
>
> I am now going to introduce Zookeeper with Curator into my current project
> and leverage it's Leader Election recipe.
>
> The question is: In monitoring I want to get current election status, e.g.
> who is the leader and who wants to become the leader. Is it possible?
>
> Best regards, Vitalii Tymchyshyn
>

Reply via email to