Another version of building microservices is through Spring Cloud Finchley modules that support creating a service registry of microservices with the Spring 5's reactive platform. This recipe will showcase how to build a cloud-based environment that can host instances or nodes of service instances in one server machine.
Configuring the Eureka server for service registration
Getting started
Using the latest Spring Cloud modules for Spring Boot 2.0.0.M2, let us create a Eureka server that will be responsible for hosting the Department, Employee, and Login microservices to form one cloud of services that can only be distinguished through their HTTP ports.