<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.3</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">场景：<br>
1、zookeeper针对dubbo节点设置了访问控制；<br>
2、dubbo使用curator作为zk客户端；<br>
3、当我从2.6.3升级到2.7.3之后发现，服务无法在zookeeper里注册，异常提示： NoAuth</p>
<p dir="auto">问题分析：<br>
之后通过文档，发现dubbo 2.7 之后增加了配置中心和元数据中心，并默认采用服务注册中心的配置；但是对于username/password属性并没有继承使用； 导致服务注册过程中提示没有权限。</p>
<p dir="auto">疑问？<br>
配置中心和服务注册中心的配置是独立的， 但实际上配置中心的如果不设置zk的用户密码，却会导致服务注册失败；</p>
<ul dir="auto">
<li>[1 ] I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>[1] I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.<br>
<a href="http://dubbo.apache.org/en-us/docs/user/references/registry/zookeeper.html" rel="nofollow">http://dubbo.apache.org/en-us/docs/user/references/registry/zookeeper.html</a></p>
<p dir="auto">Reference from above url as below:</p>
<p dir="auto">Description on registration procedure:</p>
<p dir="auto">When service provider boots up: write service URL address under directory /dubbo/com.foo.BarService/providers<br>
When service consumer boots up: subscribe to /dubbo/com.foo.BarService/providers for provider's URL addresses. At the same time, write consumer's URL address under /dubbo/com.foo.BarService/providers.</p>
<p dir="auto">Expect:</p>
<p dir="auto">When service consumer boots up: subscribe to /dubbo/com.foo.BarService/providers for provider's URL addresses. At the same time, write consumer's URL address under /dubbo/com.foo.BarService/consumers.</p>