apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.5k stars 26.43k forks source link

how to config mutiple zookeeper registry? No registry config found or it's not a valid config #4999

Closed huzhenpengssp closed 4 years ago

huzhenpengssp commented 5 years ago

Environment

Steps to reproduce this issue

dubbo-spring-boot-starter: 2.7.3 application.properties dubbo.registrys.cob1.address=zookeeper://127.0.0.1:2181 dubbo.registrys.cob2.address=zookeeper://127.0.0.1:2181

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps? how to solve the problem

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

No registry config found or it's not a valid config! the registry config is<dubbo:registry valid ="false" zookeeperprotocol="false" prefix="dubbo.registry"
CrazyHZM commented 5 years ago

refer to it: http://dubbo.apache.org/zh-cn/docs/user/demos/multi-registry.html

chickenlj commented 4 years ago

Try dubbo.registries.cob1.address=xxx

joviqiao commented 4 years ago

我tm不需要多注册中心!!!!妈卖批