This is an automated email from the ASF dual-hosted git repository.

hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 22869e0  remove create consumer in watcher
     new 06c649c  Merge pull request #142 from sunchuanleihit/master
22869e0 is described below

commit 22869e01dfc2e7dfde019f127a4f8dd6ff39c61d
Author: sunchuanleihit <[email protected]>
AuthorDate: Wed Oct 16 14:14:39 2019 +0800

    remove create consumer in watcher
---
 packages/dubbo/src/registry/zookeeper.ts | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/packages/dubbo/src/registry/zookeeper.ts 
b/packages/dubbo/src/registry/zookeeper.ts
index 94651cf..e24e27c 100644
--- a/packages/dubbo/src/registry/zookeeper.ts
+++ b/packages/dubbo/src/registry/zookeeper.ts
@@ -257,11 +257,6 @@ export class ZkRegistry extends Registry<IZkClientProps & 
IDubboRegistryProps> {
         urls.push(url);
       }
 
-      this._createConsumer({
-        name: this._props.application.name,
-        dubboInterface: dubboInterface,
-      }).then(() => log('create consumer finish'));
-
       this._dubboServiceUrlMap.set(dubboInterface, urls);
 
       if (agentAddrList.length === 0) {

Reply via email to