This commit is contained in:
Redkale
2020-05-16 19:59:49 +08:00
parent 01a5b32b22
commit d83e7c22ac
5 changed files with 179 additions and 20 deletions

View File

@@ -47,10 +47,10 @@
<!--
第三方服务发现管理接口
name: cluster名称不能包含特殊字符。
value 类名必须是org.redkale.watch.ClusterAgent的子类
value 类名必须是org.redkale.boot.ClusterAgent的子类
protocols: 服务发现可以处理的协议, 默认值为: SNCP, 多个协议用分号;隔开
ports: 服务发现可以处理的端口, 多个端口用分号;隔开
<cluster name="cluster1" value="org.redkalex.consul.ConsulClusterAgent" protocols="SNCP;" ports="7070;7071">
<cluster name="cluster1" value="org.redkalex.consul.ConsulClusterAgent" protocols="SNCP" ports="7070;7071">
<property name="xxxxxx" value="XXXXXXXX"/>
</cluster>
-->