增加自定义负载均衡规则,实现服务实例版本号隔离

This commit is contained in:
zlt
2019-09-04 12:08:38 +08:00
parent 1c17de3292
commit b060d8ee16
15 changed files with 254 additions and 5 deletions
@@ -24,6 +24,11 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>