Setting up Spring Cloud Config
Spring Cloud Config enables centralized configuration management for applications, allowing you to store configuration properties in a central repository and distribute them to connected services.
It provides the following features, among others:
- It allows version control configurations – for instance, using git as a backend to store the configuration. With this feature, you can track changes and audit configurations, and facilitate performing rollbacks to previous versions when needed.
- It enables dynamic configuration updates with no need to restart services.
- It externalizes the configuration; hence, it is possible to make configuration changes without modifying or redeploying the services.
In this recipe, we will deploy a configuration server and connect our existing RESTful APIs to the configuration service.
Getting ready
For this recipe, you will need a Git repository. I recommend using GitHub as this recipe...