摘要: 添加心跳 服务端 ConfigServer pom.xml添加actuator包 spring cloud starter eureka与spring cloud starter eureka server的区别? app不变 @EnableDiscoveryClient与@EnableEureka 阅读全文
posted @ 2018-06-02 14:44 Danni3 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 添加注册eureka 服务端 ConfigServer pom.xml spring cloud starter eureka与spring cloud starter eureka server的区别? 添加EnableDiscoveryClient @EnableDiscoveryClient与 阅读全文
posted @ 2018-06-02 10:36 Danni3 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 服务端 ConfigServer pom.xml添加config jar 添加EnableConfigServer application.yml 官网也用发发发发这个端口。 配置文件 config下新建配置文件: XXX dev.properties XXX test.properties 客户端 阅读全文
posted @ 2018-06-02 10:02 Danni3 阅读(748) 评论(0) 推荐(0) 编辑