filmov
tv
Distributed configuration | Config server | MICROSERVICES | spring CLOUD | spring BOOT
Показать описание
In this video I talk about distributed configuration in a microservices ecosystem. This video shows what problems we may face if we do not use distributed configuration and how it can solve those problems.
Restarting an application on production to make the changes in the properties file/s reflect in our application is definitely a very bad idea. Distributed configuration addresses this issue by making it possible to refresh our beans and inject them with the new values without having to restart our application.
We would need to have @RefreshScope annotation on top of our bean classes to qualify them for getting refreshed. Sorry that I missed talking about this in the video.
Restarting an application on production to make the changes in the properties file/s reflect in our application is definitely a very bad idea. Distributed configuration addresses this issue by making it possible to refresh our beans and inject them with the new values without having to restart our application.
We would need to have @RefreshScope annotation on top of our bean classes to qualify them for getting refreshed. Sorry that I missed talking about this in the video.