October 2018
Intermediate to advanced
982 pages
23h 29m
English
Our Eureka server needs to be configured using the Spring Cloud Server configured in the previous sections. Then, we need to keep the application.yaml off our project, to use the Config Server properly. Instead of the application.yaml, we need to put the bootstrap.yaml and put the Config Server address on it.
Then, we need to:
Let's start with the discovery.yaml file. The file should look like this:
server: port: 8761eureka: instance: hostname: localhost health-check-url-path: /actuator/health status-page-url-path: /actuator/info client: registerWithEureka: false fetchRegistry: falselogging: level: com.netflix.discovery: ...
Read now
Unlock full access