Running the Spring Cloud Eureka server

The Eureka server is ready to use. We will start the Spring Boot application and put our Eureka server online. We can use the Java command line or IDE to run it. I prefer to use IDE because it enables us to debug and make some code changes.

The Config Server needs to be running because the discovery will find the configuration file to bootstrap the server properly.

Run it!

We should see the following lines in the application bootstrap logs:

Awesome. Look at the following line of the log:

2018-01-07 14:42:42.636  INFO 11191 --- [      Thread-32] e.s.EurekaServerInitializerConfiguration : Started Eureka Server ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.