Spring Cloud Config provides external configuration support for distributed systems for both the server and the client. The configuration server provides a centralized external configuration for all environments for each application. It implements a mapping of the spring environment and propertysource abstractions to both the server side and the client, so it can be used in applications that run in any other language, except for applications that are built by spring. As an application that can be tested or put into production by deploying pipelines, we can create configurations for these environments separately, and get the configuration of the corresponding environment to run when the environment needs to be migrated.
The configuration server uses Git to store configuration information by default, which facilitates versioning of the environment configuration and provides easy management and access to configuration content through the GIT client tool. Of course he also provides a way to store localized file systems, and here are two ways to use distributed configuration to store the configuration content of a microservices application's multi-environment.
Building Config Server
Building a config Server from spring cloud is simple and requires only three steps:
Spring Cloud Building MicroServices Architecture (iv) Distributed configuration Center