Spring Cloud Config Server
When we adopt the microservices architectural style, there are some challenges to solve. One of the first problems to solve is how to manage the microservices configurations in the cluster, and how to make them easy and distributed, as well?
Spring Cloud Config provides a Spring way, based on annotations and Spring beans. It is an easy way to solve this problem in a production-ready module. There are three main components in this module, the Configuration Repository, that is, version control system, the Config Server, which will provide the configurations, and finally, the Configuration Client, which will consume the configuration from the Config Server.
This module supplies the configuration files over an HTTP interface. It is the main feature provided by this project and it acts as a central repository for configuration in our architecture.
We want to remove the application.yaml
file from our classpath; we do not need this file in classpath anymore, and so we will...