Using zookeeper for service discovery with spring apps
##Summary Service B is a client of service A. We will have multiple instances of service A and B running at various times. Using zookeeper, we can have service A register themselves to live. Service B will discover available instances dynamically and call a available instance.
##Usage
- Start multiple insatnces of service A by changing port and using maven spring-boot or tomcat instances.
- Start an instance of serviceB and use GET: http://localhost:7090/serviceB/message
- Responses should cycle though the available instances of service A.
##Libraries
Apache Zookeeper
Apache Curator
Spring Cloud
##References