Service configuration
When many services, especially those running on different servers, are deployed using automated tools, it is hard to keep the application configuration static, as we practiced in the monolithic application development.
With microservices, all service configurations should be externalized, as proposed in the Twelve-Factor App. A central service for all configurations could be a good choice. Spring Cloud Config server and Archaius are out-of-the-box configuration servers. Alternately, Spring Boot profiles can be used to manage configurations for small-scale microservices if the configuration changes are not dynamic in nature.
We will discuss service configuration using Spring Cloud in Chapter 7, Scale Microservices with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access