View on GitHub

Spring Cloud Service Registration and Discovery - Spring Boot and Apache ZooKeeper

This is a repository for Spring Boot Zookeeper Example.

Download this project as a .zip file Download this project as a tar.gz file

The Spring Boot Diner Application

The Diner Application launches a simple RESTful service to indicate whether or not the diner is open on a day.

The default configuration:

  1. Launches Server on Port 8081
  2. Searches for a ZooKeeper instance on Port 2181
  3. Registers the Services on this Application with ZooKeeper under the name "diner"

The Spring Boot Foody Application

The Foody Application launches a simple RESTful service to indicate whether or not the foody's favorite diner is open on a day.

  1. Launches Server on Port 8083
  2. Searches for a ZooKeeper instance on Port 2181
  3. Registers the Services on this Application with ZooKeeper under the name "foody"

Read the complete description here: http://www.algoclinic.com/micro-services-example-with-spring-boot-and-zookeeper.html