You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "cielswift (GitHub)" <gi...@apache.org> on 2020/02/16 04:46:53 UTC
[GitHub] [dubbo] cielswift opened issue #5747: 当dubbo使用nacos做注册中心的时候,该如何选择namespace呢?
dubbo: #dubbo配置
registry:
address: nacos://127.0.0.1:13100?backup=127.0.0.1:13101,127.0.0.1:13102 #使用nacos注册中心
这里会导致dubbo把所有的调用都注册到public 上;
我在配置里没有找到关于namespace的配置;
网路上也找不到关于修改namespace的;
[ Full content available at: https://github.com/apache/dubbo/issues/5747 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo] vergilyn commented on issue #5747: 当dubbo使用nacos做注册中心的时候,该如何选择namespace呢?
Posted by "vergilyn (GitHub)" <gi...@apache.org>.
dubbo.properties:
```properties
# dubbo底层参数绑定基于 spring-bean的 org.springframework.beans.MutablePropertyValues
# 所以,spring 4 与 spring 5 的语法可能不一样
# dubbo.registry.parameters.namespace=xxx
# spring-bean 5.2.2.RELEASE 成功绑定并注册到指定的namespace
dubbo.registry.parameters[namespace]=xxx
```
[ Full content available at: https://github.com/apache/dubbo/issues/5747 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [dubbo] cielswift closed issue #5747: 当dubbo使用nacos做注册中心的时候,该如何选择namespace呢?
Posted by "cielswift (GitHub)" <gi...@apache.org>.
[ issue closed by cielswift ]
[ Full content available at: https://github.com/apache/dubbo/issues/5747 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org