Following is my bootstrap.yml configuration:
spring:
application:
name: myService
cloud:
consul:
config:
enabled: true
prefix: config
profileSeparator: '@@'
watch:
wait-time: 10
delay: 10000
enabled: true
When I update a value in Consul for a given key, I am able to eventually see that the RefreshEvent is received and processed by my service, but it seems to take a constant amount of time, not within 10 seconds like I'm thinking it should given my configuration. Does anyone have experience using ConfigWatch, and, if so, how do you configure it so that it picks up changes every X number of seconds?
BTW, we're using Spring Cloud Camden.SR5.