Is there any way to refresh springboot
configuration as soon as we change .properties
file?
I came across spring-cloud-config
and many articles/blogs suggested to use this for a distributed environment. I have many deployments of my springboot
application but they are not related or dependent on one another. I also looked at few solutions where they suggested providing rest endpoints to refresh configs manually without restarting application. But I want to refresh configuration dynamically whenever I change .properties
file without manual intervention.
Any guide/suggestion is much appreciated.