O'Reilly logo

Practical Microservices by Umesh Ram Sharma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration server

To start with, go to start.spring.io and create a Spring Boot application, as mentioned in the earlier examples. For this project, the group name of our application will be com.practicalMicroservcies. First, we will create a configuration that will provide configuration to the various services of our project. To create this, we will create a Spring Boot project with configServer as the name and with an option of the cloud starter as well. If you download your project from start.spring.io, your folder structure will be as follows:

The pom.xml file will be as follows:

 <?xml version="1.0" encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required