Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 658 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 658 Bytes

"# zookeeper-samples"

Dependency: Install zookeeper and start the on the default port:2181 https://zooesblog.wordpress.com/2016/03/15/installing-apache-zookeeper-and-kafka-as-windows-service/

Build the project: mvn clean install

Start multiple instances of Service-Provider: java -jar service-provider\target\service-provider.jar W1 8001

java -jar service-provider\target\service-provider.jar W2 8002 ...

Start Service-Consumer : java -jar service-consumer\target\service-consumer.jar 8000

Open browser and point to : localhost:8000/api/delegate

Open another tab and point to same url: localhost:8000/api/delegate