dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] EonianGlutton commented on issue #62: 多registry是怎么使用的
Date Mon, 19 Mar 2018 07:18:48 GMT
EonianGlutton commented on issue #62: 多registry是怎么使用的
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/62#issuecomment-374084029
   I found another method to use multiple refistries
   In properties:
   dubbo.applications.applicationredis.name = dubbo-provider-demo2
   dubbo.registries.registryredis.address = zookeeper://192.168.1.x:3181
   dubbo.applications.applicationbus.name = dubbo-provider-demo
   dubbo.registries.registrybus.address = zookeeper://172.28.32.x:9911
   dubbo.protocols.protocol1.name = dubbo
   dubbo.protocols.protocol1.port = 20880
   In controller:
   @Reference(version = "1.0.0",
               application = "applicationbus",
               registry = "registryredis",
               check = false
   use in this way is ok.
   But there is one question:
   1.I use bean name in controller,is that bean name must start with application or registry?If
I change the prefix,it does not work.
   thank you very much!

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message