01 2019 档案
摘要:Spring Cloud Bus 1.服务端配置 pom.xml application.yml 2.客户端配置 pom.xml application.yml Controller.java 3.自动刷新配置 服务架构 在分布式配置中,客户端获取远程最新配置时(比如:Git),要手动发送POST请
阅读全文
摘要:Spring Cloud RabbitMQ pom.xml application.yml 提供者 消费者 队列配置 单元测试 通过消息队列MQ做为通信中心,这里采用RabbitMQ.安装方参考: https://www.cnblogs.com/linyufeng/p/9883905.html 也可
阅读全文
摘要:Spring Cloud Config 1.github配置 2.服务端配置 pom.xml application.xml Application.java 3.配置和命名 1. 配置加载顺序 2. 客户端命名规则 4.客户端配置 pom.xml application.yml Controlle
阅读全文
摘要:Spring Cloud Zuul 1.pom.xml 2.application.yml Application.java 1.pom.xml <!-- zuul 网关服务 --> <dependency> <groupId>org.springframework.cloud</groupId>
阅读全文
摘要:Spring Cloud Hystrix DashBoard 1.监控系统配置 pom.xml application.yml Application.java 2.被监控服务配置 pom.xml application.yml 3.集群监控配置 pom.xml application.xml Ap
阅读全文