dubbo-spring-boot-project icon indicating copy to clipboard operation
dubbo-spring-boot-project copied to clipboard

注册多group问题

Open cwdtom opened this issue 7 years ago • 3 comments

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

cwdtom avatar Dec 29 '18 03:12 cwdtom

@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

这样配置可以实现吗?

cwdtom avatar Dec 29 '18 05:12 cwdtom

实验了下貌似这样是可以成功的。。。希望官方可以把文档和wiki做的好一点,如果的确是我上面的配置解决,那请帮忙关闭这个issue

cwdtom avatar Dec 29 '18 05:12 cwdtom

Ok, We are working on the document.

mercyblitz avatar Jan 02 '19 03:01 mercyblitz