Closed xxw1754352621 closed 5 years ago
1.请求参数设置 http://xxx/v1/kv/pds/pds-asm/?recurse&wait=55s&index=801516等 2.响应结果的index缓存和比较 org.springframework.cloud.consul.config.ConfigWatch#consulIndexes来自于 项目启动创建的org.springframework.cloud.consul.config.ConsulPropertySourceLocator#contextIndex
1.Spring Boot Actuator Starter的使用 Starter for using Spring Boot's Actuator which provides production-ready features to help you monitor and manage your application
2.spring consul的使用
3.关键实现类,spring-cloud-consul-config下的ConfigWatch
@Scheduled(fixedDelayString = "${spring.cloud.consul.config.watch.delay:1000}")