Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b81ca6

Browse files
committed
fix readme
1 parent 2a15e2a commit 3b81ca6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

springcloud-consul-ribbon-sample/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Ribbon是Netflix公司开源的基于客户端的负载均衡组件,可以简
2323
2424
#### Ribbon的核心接口组成部分
2525
| 接口 | 作用 | 默认值 |
26-
| ------------ | ------------ | ------------ | ------------ |
26+
| ------------ | ------------ | ------------ |
2727
| IClientConfig | 读取配置 | DefultClientConfigImpl |
2828
| IRule | 负载均衡规则,选择实例 | ZoneAvoidanceRule |
2929
| IPing | 筛选掉Ping不通的实例 | DummyPing |

springcloud-nacos-ribbon-sample/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Ribbon是Netflix公司开源的基于客户端的负载均衡组件,可以简
2323
2424
#### Ribbon的核心接口组成部分
2525
| 接口 | 作用 | 默认值 |
26-
| ------------ | ------------ | ------------ | ------------ |
26+
| ------------ | ------------ | ------------ |
2727
| IClientConfig | 读取配置 | DefultClientConfigImpl |
2828
| IRule | 负载均衡规则,选择实例 | ZoneAvoidanceRule |
2929
| IPing | 筛选掉Ping不通的实例 | DummyPing |

springcloud-nacos-ribbon-sample/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ service.url.nacos.provider.service=http://nacos-provider-service
1313
#开启Ribbon的饥饿加载模式
1414
ribbon.eager-load.enabled=true
1515
#指定需要饥饿加载的服务名
16-
ribbon.eager-load.clients=consul-provider-service
16+
ribbon.eager-load.clients=nacos-provider-service
1717
#Ribbon的超时
1818
ribbon.ConnectTimeout=3000
1919
ribbon.ReadTimeout=60000

0 commit comments

Comments
 (0)