Skip to content

Zookeeper based cluster manager implementation

License

Notifications You must be signed in to change notification settings

nabhosal/vertx-zookeeper

 
 

Repository files navigation

Zookeeper Cluster Manager

This is a cluster manager implementation for Vert.x that uses Zookeeper.

Please see the main documentation on the web-site for a full description:

Why this Fork

We are using zookeeper to manage vertx cluster, with multiple or replica services running across different machines. it was becoming challenging for dev-ops to pinpoint the down service since UUID in zk was not intuitive. We use zk watcher to automate restart of down service, and it need more info such as instance ip & service name. We have modified ZookeeperClusterManager for this purpose.

Intuitive nodeID in zookeeper instead of UUID
nilesh@CVHYD084:~/zookeeper/apache-zookeeper-3.5.5-bin$ bin/zkCli.sh -server 127.0.0.1:2181
/usr/bin/java
Connecting to 127.0.0.1:2181
[zk: 127.0.0.1:2181(CONNECTED) 32] ls /io.vertx/cluster/nodes
[127.0.1.1_857]
[zk: 127.0.0.1:2181(CONNECTED) 33] ls /io.vertx/cluster/nodes
[127.0.1.1_857, servicePrefix_127.0.1.1_207]
[zk: 127.0.0.1:2181(CONNECTED) 34]

About

Zookeeper based cluster manager implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • Shell 0.3%