To manage the configuration of a system landscape of microservices, Spring Cloud contains Spring Cloud Config, which provides the centralized management of configuration files according to the requirements described in Chapter 1, Introduction to Microservices, in the Central configuration section.
Spring Cloud Config supports storing configuration files in a number of different backends, such as the following:
- A Git repository, for example, on GitHub or Bitbucket
- Local filesystem
- HashiCorp Vault
- A JDBC database
Spring Cloud Config allows us to handle configuration in a hierarchical structure; for example, we can place common parts of the configuration in a common file and microservice-specific settings in separate configuration files.
Spring Cloud Config also supports detecting changes in the configuration...