January 2018
Intermediate to advanced
414 pages
10h 29m
English
We can use Spring Initializr again to create our Discovery Server by visiting https://start.spring.io/.
We have chosen to create a Maven Project using Kotlin and Spring Boot 2.0.0 M7, we chose the Group to be com.microservices and the Artifact to be chapter06-discovery-server. For Dependencies, we have set Eureka Server. Now we can click Generate Project to download it as a ZIP file. After we unzip it, we can open it with IntelliJ IDEA to start working on our Eureka server.
First, we will rename application.properties to application.yml, selecting it in the project window and pressing Shift + F6, and then we will edit it:
server: port: 8761spring: application: name: "discovery-server"
We have set our Discovery ...
Read now
Unlock full access