统一配置中心

1.搭建统一配置项目  创建git仓库配置文件

文件访问路径说明

2.spring cloud bus  配置文件修改后自动刷新

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>

暴露全路径接口
management:
  endpoints:
web:
expose: "*"

猜你喜欢

转载自www.cnblogs.com/flyyu1/p/10995134.html
今日推荐