1.springboot配置zk集群
1.1:非主从配置方法
dubbo: registry: protocol: zookeeper address: 12.1.1.69:2181,12.1.1.85:2181,12.1.1.84:2181 check: false
1.2:主从配置方法
dubbo: registry: protocol: zookeeper address: 12.1.1.69:2181?backup=12.1.1.85:2181,12.1.1.84:2181 check: false
原文地址:https://www.cnblogs.com/daysn/p/10130253.html
时间: 2024-11-08 07:08:23