0

We have a backend module which listen ActiveMQ, after changing the backend arch, we are using Mesos,Marathon and Zookeeper,

Now we want to listen Zookeeper events, if any update come to zookeeper.

Is there any Client or anything, for connect to Zookeeper and listen the Zookeeper Queues/Events.

Thanks in advance.

Rajiv Reddy
  • 153
  • 1
  • 9

2 Answers2

1

There are ZooKeeper bindings (client libraries) for a variety of languages, you can use those libraries to interact with ZooKeeper. The ZooKeeper Programmer's Guide is a great place to start. And here is the link to Curator.

hartem
  • 411
  • 2
  • 8
0

We're using apache curator framework for this purpose. There is watch method which allow you to subscribe for specific path and listen for different events from it. Like: node created, updated, deleted or child changed...

vvg
  • 6,325
  • 19
  • 36