curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitalii Tymchyshyn <...@tym.im>
Subject Re: Leader election status
Date Thu, 28 Aug 2014 17:14:48 GMT
Yes, thanks!

Best regards, Vitalii Tymchyshyn
28 серп. 2014 13:11, користувач "Mike Drob" <madrob@cloudera.com> написав:

> 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 <vit@tym.im> 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
>>
>
>

Mime
View raw message