You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/08 03:11:36 UTC

[GitHub] [dubbo] niejian commented on issue #8709: dubbo-3.0.2.1 zookeeper not connected

niejian commented on issue #8709:
URL: https://github.com/apache/dubbo/issues/8709#issuecomment-914873810


   配置改为如下:
   将多个注册中心通过配置 `dubbo.registries` 分别配置,项目能启动成功,并且可以调用到15注册中心的服务。但是有一个疑问就是在**dubbo版本2.6.6,多个注册中心可以用 `|`分割,也能实现`registries`功能,为什么3.0.2.1就不行了**
   ```properties
   dubbo.registry.protocol=dubbo
   dubbo.registry.timeout=60000
   dubbo.registries.test.id=58-registry
   dubbo.registries.test.address=zookeeper://192.168.240.58:2182
   dubbo.registries.test.default=true
   dubbo.registries.test.timeout=60000
   
   dubbo.registries.test2.id=15-registry
   dubbo.registries.test2.address=zookeeper://192.168.240.15:2181
   dubbo.registries.test2.timeout=60000
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org