摘要: 先上一张流程图: 我们Zuul的使用如下: application.properties配置: 1. 从我们的开启Zuul注解@EnableZuulProxy开始看起,这个比较简单,就是引入了ZuulProxyMarkerConfiguration.Marker这个Bean。 2. 再找到Zuul这 阅读全文
posted @ 2020-05-08 23:03 女友在高考 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 一、配置中心 先来一张流程图: Spring Cloud Bus 如何触发 Refresh? 注:配置中心里我是配置的mq发送消息 1. RefreshBusEndpoint中加了@Endpoint( id = "bus refresh" )注解,他就会监控这个/actuator/bus refre 阅读全文
posted @ 2020-05-08 23:01 女友在高考 阅读(891) 评论(0) 推荐(0) 编辑