You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/08 08:40:27 UTC
[GitHub] [dubbo-go] wwek opened a new issue #1573: 配置中心设置的 namespace为什么不生效?
wwek opened a new issue #1573:
URL: https://github.com/apache/dubbo-go/issues/1573
**What happened**:
1、config-center 配置的 namespace: dev

```
dubbo:
config-center:
protocol: nacos
address: 127.0.0.1:8848
group: dubbo
namespace: dev
data-id: "dubbogo-qznotify.yaml"
timeout: 10s
params:
username: nacos
password: nacos
```
2、 问题 nacos中取是namespace: public,namespace: dev 未生效

3、环境和版本
dubbo.apache.org/dubbo-go/v3 v3.0.0-rc3
func main() {
config.SetProviderService(&GreeterProvider{})
config.SetProviderService(&GreeterProvider{})if err := config.Load(); err != nil { panic(err)}
select {}
}
**What you expected to happen**:
应该取设置的namespace: dev 中的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] LaurenceLiZhixin commented on issue #1573: 配置中心设置的 namespace 不生效
Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin commented on issue #1573:
URL: https://github.com/apache/dubbo-go/issues/1573#issuecomment-964772749
3.0分支问题已经修复
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] LaurenceLiZhixin edited a comment on issue #1573: 配置中心设置的 namespace 不生效
Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin edited a comment on issue #1573:
URL: https://github.com/apache/dubbo-go/issues/1573#issuecomment-964772749
@wwek
1. 3.0分支问题已经修复,请拉取最新代码。或使用哈希
dubbo.apache.org/dubbo-go/v3 0c85c5505bc5a3ba488e4fb322804c67a0c0e4f6
2. 配置时配置的
namespace: dev # dev 是错误的,应该配置的值是 namespaceID,如`9fb00abb-278d-42fc-96bf-e0151601e4a1` ,需要提前在 nacos 界面创建好。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] LaurenceLiZhixin closed issue #1573: 配置中心设置的 namespace 不生效
Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin closed issue #1573:
URL: https://github.com/apache/dubbo-go/issues/1573
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org