Showing posts from August, 2018

Configuring Micro Services - Spring Cloud Config Server

Managing application configuration in a traditional monolith is pretty straight forward. Configuration is typically externalised to one or more property files that sit on the same server as the application. Externalising the configuration makes sense as it allows you to update configuration without having to rebuild and redeploy the application. It also means the build artifact is environment agnostic, allowing you to deploy the same physical WAR to dev, uat, prod etc.
Configuring Micro Services While the approach described above is valid for many applications, the move toward micro services has created a number of new challenges. Micro services by definition are more granular, meaning many distinct components to deploy and manage. Increasing the number of components creates a maintenance challenge when it comes to managing application config. Consider managing the configuration for a solution that is broken into 8 distinct micro services (which is not many by the way). Updating some …