摘要: 首先添加服务熔断的依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency> 然后在配 阅读全文
posted @ 2021-01-20 17:34 我迷路了呀 阅读(169) 评论(0) 推荐(0)
摘要: 当一个服务需要调用另一个服务时,需要两个服务同时存在服务注册中心,做法如下: 参考官方文档 https://github.com/alibaba/nacos https://github.com/alibaba/nacos/releases 不要使用beta,那是测试版本 window下载后直接解压 阅读全文
posted @ 2021-01-20 17:28 我迷路了呀 阅读(301) 评论(0) 推荐(0)