Let us create our first Eureka cloud-based services through these steps:
- First, create a Spring Boot application that will be deployed and run as a Eureka server and nothing else. Name the project ch10-eureka-hrs. It should contain only the core starter POM dependencies such as the spring-boot-starter-webflux since this will just access the microservices.
- To enable Spring Cloud Finchley modules, add the following dependency management component inside the pom.xml:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Finchley.M1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> ...