How to test:
cd zookeeper-sandbox
mvn package
cd ../zookeeper-sandbox-client
mvn package
cd zookeeper-sandbox
java -jar target/zookeeper-sandbox-0.0.1-SNAPSHOT.jar
cd zookeeper-sandbox-client
java -jar target/zookeeper-sandbox-client-0.0.1-SNAPSHOT.jar
curl http://localhost:8484/results
Stop one of the servers and run the curl
command again and check the API does not recognize the server was removed.
Spring Cloud Zookeeper issue: spring-cloud/spring-cloud-zookeeper#45