Dubbo + zookeeper cluster configuration, dubbozookeeper Cluster

Source: Internet
Author: User

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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.