You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "cwdtom (GitHub)" <gi...@apache.org> on 2018/12/29 03:46:00 UTC

[GitHub] [incubator-dubbo-spring-boot-project] cwdtom opened issue #349: 注册多group问题

项目中需要用到在同一个注册中心上同时注册多个group,我尝试了下,发现貌似在配置文件里面用逗号的形式配多个group是不行的,想问一下现在的版本是否支持。
我用的是0.1.1的starter版本

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/349 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz closed issue #349: 注册多group问题

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
[ issue closed by mercyblitz ]

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/349 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] cwdtom commented on issue #349: 注册多group问题

Posted by "cwdtom (GitHub)" <gi...@apache.org>.
实验了下貌似这样是可以成功的。。。希望官方可以把文档和wiki做的好一点,如果的确是我上面的配置解决,那请帮忙关闭这个issue

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/349 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] cwdtom commented on issue #349: 注册多group问题

Posted by "cwdtom (GitHub)" <gi...@apache.org>.
@EnableDubboConfig(multiple = true)

dubbo.registrys.local.group=local
dubbo.registrys.test.group=test
dubbo.registry.local.address=zookeeper://xxxx:2181
dubbo.registry.test.address=zookeeper://xxxx:2181

这样配置可以实现吗?

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/349 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #349: 注册多group问题

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Ok, We are working on the document.

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/349 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org