You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "zhaixiaoxiang (GitHub)" <gi...@apache.org> on 2019/02/13 08:13:28 UTC
[GitHub] [incubator-dubbo] zhaixiaoxiang opened issue #3462: there
isn't '/dubbo/config' path in zk after I run dubbo-demo-xml-provider in
Tag2.7.0 version
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] chickenlj closed issue #3462: there isn't
'/dubbo/config' path in zk after I run dubbo-demo-xml-provider in Tag2.7.0
version
Posted by "chickenlj (GitHub)" <gi...@apache.org>.
[ issue closed by chickenlj ]
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] zhaixiaoxiang commented on issue #3462:
there isn't '/dubbo/config' path in zk after I run dubbo-demo-xml-provider in
Tag2.7.0 version
Posted by "zhaixiaoxiang (GitHub)" <gi...@apache.org>.
http://dubbo.incubator.apache.org/zh-cn/docs/user/configuration/config-center.html, 这个文档里还提到了
> "为了兼容2.6.x版本配置,在使用Zookeeper作为注册中心,且没有显示配置配置中心的情况下,Dubbo框架会默认将此Zookeeper用作配置中心,但将只作服务治理用途。"
就是说2.7版本的dubbo, 如果没有显式配置配置中心的情况下, zk上也应该会有/dubbo/config目录的吧, 用来做服务治理用途, 但是正如标题里提到的, demo启动后, zk 上并没有相应的目录
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] zhaixiaoxiang commented on issue #3462:
there isn't '/dubbo/config' path in zk after I run dubbo-demo-xml-provider in
Tag2.7.0 version
Posted by "zhaixiaoxiang (GitHub)" <gi...@apache.org>.
> http://dubbo.incubator.apache.org/zh-cn/docs/user/configuration/config-center.html, <dubbo:config-center address="zookeeper://127.0.0.1:2181"/>
官网文档里提到了, 是我没注意到
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] zhaixiaoxiang closed issue #3462: there
isn't '/dubbo/config' path in zk after I run dubbo-demo-xml-provider in
Tag2.7.0 version
Posted by "zhaixiaoxiang (GitHub)" <gi...@apache.org>.
[ issue closed by zhaixiaoxiang ]
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] chickenlj commented on issue #3462: there
isn't '/dubbo/config' path in zk after I run dubbo-demo-xml-provider in
Tag2.7.0 version
Posted by "chickenlj (GitHub)" <gi...@apache.org>.
抱歉demo中并没有给出详细的操作步骤。
Dubbo框架自身并不会创建/dubbo/config目录,你需要利用demo中的ZKTools.java工具类或者部署一套dubbo-ops控制台来完成目录创建和规则写入。
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3462 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org