File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 3737 <artifactId >spring-boot-starter-actuator</artifactId >
3838 </dependency >
3939 <!-- 使用消息总线刷新配置时添加-->
40- <!-- < dependency> -- >
41- <!-- < groupId>org.springframework.cloud</groupId> -- >
42- <!-- < artifactId>spring-cloud-starter-bus-amqp</artifactId> -- >
43- <!-- < /dependency> -- >
40+ <dependency >
41+ <groupId >org.springframework.cloud</groupId >
42+ <artifactId >spring-cloud-starter-bus-amqp</artifactId >
43+ </dependency >
4444
4545 <dependency >
4646 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ spring:
1111 discovery :
1212 enabled : true
1313 service-id : config-server
14- rabbitmq :
14+ rabbitmq : # rabbitmq相关配置
1515 host : localhost
1616 port : 5672
1717 username : guest
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ spring:
1111 discovery :
1212 enabled : true
1313 service-id : config-server
14- rabbitmq :
14+ rabbitmq : # rabbitmq相关配置
1515 host : localhost
1616 port : 5672
1717 username : guest
Original file line number Diff line number Diff line change 3333 <artifactId >spring-boot-starter-actuator</artifactId >
3434 </dependency >
3535 <!-- 使用消息总线刷新配置时添加-->
36- <!-- < dependency> -- >
37- <!-- < groupId>org.springframework.cloud</groupId> -- >
38- <!-- < artifactId>spring-cloud-starter-bus-amqp</artifactId> -- >
39- <!-- < /dependency> -- >
36+ <dependency >
37+ <groupId >org.springframework.cloud</groupId >
38+ <artifactId >spring-cloud-starter-bus-amqp</artifactId >
39+ </dependency >
4040
4141 <dependency >
4242 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ spring:
1111 username : macro
1212 password : 123456
1313 clone-on-start : true # 开启启动时直接从git获取配置
14- rabbitmq :
14+ rabbitmq : # rabbitmq相关配置
1515 host : localhost
1616 port : 5672
1717 username : guest
@@ -21,7 +21,7 @@ eureka:
2121 service-url :
2222 defaultZone : http://localhost:8001/eureka/
2323management :
24- endpoints :
24+ endpoints : # 暴露bus刷新配置的端点
2525 web :
2626 exposure :
2727 include : ' bus-refresh'
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ spring:
1111 username : macro
1212 password : 123456
1313 clone-on-start : true # 开启启动时直接从git获取配置
14- search-paths : ' {application}'
14+ # search-paths: '{application}'
1515eureka :
1616 client :
1717 service-url :
You can’t perform that action at this time.
0 commit comments