curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Techy Teck <comptechge...@gmail.com>
Subject Re: Watch for events on descendant znodes using curator?
Date Sun, 17 Nov 2013 02:05:40 GMT
Thanks a lot John. I will try that out and once I have that code ready, I
will check with you whether this is the right way to do that or we can
improvise it slightly..

Thanks a lot for the help..


On Sat, Nov 16, 2013 at 5:21 PM, John Vines <vines@apache.org> wrote:

> Currently there is no existing mechanism. Curator-33 is for this feature.
> In the meantime, you can write a child listener that creates new listeners
> on create events and removes them on delete events.
>
> Sent from my phone, please pardon the typos and brevity.
> On Nov 16, 2013 8:02 PM, "Techy Teck" <comptechgeeky@gmail.com> wrote:
>
>> When using ZooKeeper is it possible to watch for all events happening on
>> descendant znodes?
>>
>> for example if I have below diagram as attached in this email.
>>
>> Is there a way to watch the poot node for any changes to /v1, /v2, /v3
>> and /host and other children nodes for v2,v3 and host as well?
>>
>

Mime
View raw message