Dubbo + zookeeper cluster configuration, dubbozookeeper Cluster
The cluster service registers with multiple zookeeper configurations:
1 <dubbo: registry protocol = "zookeeper" address = "10.20.153.10: 2181, 10.20.153.11: 2181, 10.20.153.12: 2181"/>
Divided into multiple groups of registration centers
1 <dubbo: registry id = "chinaRegistry" protocol = "zookeeper" address = "10.20.153.10: 2181" group = "china"/> 2 3 <dubbo: registry id = "intlRegistry" protocol = "zookeeper" address = "10.213153.10: 2181" group = "intl"/>
Dubbo-admin
1 # note that multiple backups are added to one address. If any node is active, the overall service will not return problems. 2 dubbo. registry. address = zookeeper: // 127.0.0.1: 2181? Backup = 127.0.0.1: 2182,127.0 .0.1: 21833 dubbo. admin. root. password = root4 dubbo. admin. guest. password = guest5 Note: The following comma-separated methods cannot be used: 10.20.153.10: 2181, 10.20.153.11: 2181, 10.20.153.12: 2181