The following figure shows the updated implementation of Microservice A and service consumer with Spring Cloud Config. In the following figure, we will integrate Microservice A with Spring Cloud Config in order to retrieve its configuration from the local Git repository:
Implementing Spring Cloud Config needs the following:
- Setting up the Spring Cloud Config server.
- Setting up a local Git repository and connecting it to Spring Cloud Config server.
- Updating Microservice A to use the configuration from Cloud Config Server--using Spring Cloud Config Client.