The writer could create an ephemeral node. Interested clients would watch it for deletion.
==================== Jordan Zimmerman On Jul 5, 2012, at 7:24 AM, Jack Luo <[email protected]> wrote: > Hi All, > I am using Zookeeper for a distributed project. This project includes one > writer client, which updates the specific znode data every 5 minutes, and > 500 watcher clients, which monitor the specific znode and retrieve the > updated data once change notification is received. > One of project requirements is that watcher clients should be notified > immediately once writer client is disconnected. I have checked the ZooKeeper > online documents and cann't find a way to do it. Any idea on how to implement > this feature? > Thanks f or your time and help in advance! > Jack > > > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential > information, privileged material (including material protected by the > solicitor-client or other applicable privileges), or constitute non-public > information. Any use of this information by anyone other than the intended > recipient is prohibited. If you have received this transmission in error, > please immediately reply to the sender and delete this information from your > system. Use, dissemination, distribution, or reproduction of this > transmission by unintended recipients is not authorized and may be unlawful.
