Implementing Spring Cloud Config Server

The following diagram shows the updated implementation of Microservice A and Service Consumer with Spring Cloud Config. In the following diagram, we will integrate Microservice A with Spring Cloud Config in order to retrieve its configuration from the local Git repository:

Implementing Spring Cloud Config entails the following steps:

  1. Set up the Spring Cloud Config server.
  2. Create a new service in Microservice A to return some information from the application configuration. We would use this service to test whether we are able to pick up configuration from the Spring Cloud Config server.
  3. Set up a local Git repository and connect it to the Spring Cloud Config server.
  4. Update Microservice A to use the configuration from Cloud Config Server by using Spring Cloud Config Client.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset