Hi all,
I want to read new assignment by nimbus on zookeeper.

Can i do it ?

I have a requirement to perform some action on any change in assignment.

As our spout has the standard virtual ip. external world push the data to
this spout.


I want that when the spout accidentally killed and spawned some where else,
then i want
get this update(change of assignment) and perform some action where the
spout accidentally killed.

Is it good way?

in our design we are watching the zookeeper on /assignment znode about any
change.
If there is change there then we want to down the virtual IP and up where
that spout is reassigned.

Regards
Tarkeshwar

Reply via email to