update nacos-discovery.adoc

pull/2159/head
XuDaojie 4 years ago
parent 350f87c79f
commit 7825cb0ceb

@ -291,6 +291,17 @@ Endpoint 暴露的 json 中包含了两种属性:
}
----
=== 如何开启权重路由
==== Ribbon
.application.properties
[source,properties]
----
[service_name].ribbon.NFLoadBalancerRuleClassName=com.alibaba.cloud.nacos.ribbon.NacosRule
----
=== 关于 Nacos Discovery Starter 更多的配置项信息
更多关于 Nacos Discovery Starter 的配置项如下所示:

@ -294,6 +294,16 @@ The followings shows how a service instance accesses the Endpoint:
}
----
=== Weight Route
==== Ribbon
.application.properties
[source,properties]
----
[service_name].ribbon.NFLoadBalancerRuleClassName=com.alibaba.cloud.nacos.ribbon.NacosRule
----
=== More Information about Nacos Discovery Starter Configurations
The following shows the other configurations of the starter of Nacos Discovery:

Loading…
Cancel
Save