You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/03/19 02:31:57 UTC

[GitHub] EonianGlutton commented on issue #62: ���registry������������������

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.config.multiple=true
   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?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:
users@infra.apache.org


With regards,
Apache Git Services