Search code examples
springspring-cloud-config

can spring cloud config be used to set configuration properties without needing application restart


can we use spring cloud config to change the configuration properties of one of the beans at runtime without having to restart the application i.e requiring context reloading.

I currently have a spring boot setup where any change to the application properties needs a restart of the application.


Solution

  • There are multiple options for refreshing the config properties without restart with spring cloud config. You can: