I think JMX can atleast give you what the stat of a given zk server is (
http://zookeeper.apache.org/doc/r3.3.3/zookeeperJMX.html) but i dont think
you'd be able to register for change notification.
Am interested in hearing any thoughts on a nice api for notifications
On Wed, Oct 19, 2011 at 2:31 PM, Avinash Lakshman <
[EMAIL PROTECTED]> wrote:
> Is there any API to get information of the current leader of the ZK cluster
> and/or to register for leader change notifications? Also any API to get the
> endpoint information of the members of the cluster?