Adds automatic "pull" feature of configuration from Spring Cloud Config Server with configurable delay.
In order to setup refresh you have to add fallowing dependency to your Cloud Config Client.
<dependency>
<groupId>com.github.jmnarloch</groupId>
<artifactId>spring-cloud-starter-config-refresh</artifactId>
<version>1.0.0</version>
</dependency>
Afterwards set the refresh interval (in seconds) in your application.yml
spring:
cloud:
config:
refreshInterval: 600