dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Conflict between curator client and dubbo

Open haozi000005 opened this issue 7 years ago • 4 comments

dubbo版本 2.7.0

使用curator连接zoo

             private void build() {
		client = CuratorFrameworkFactory.builder()
				.connectString(server)
				.sessionTimeoutMs(sessionTimeoutMs)
				.connectionTimeoutMs(connectionTimeoutMs)
				.retryPolicy(retryPolicy)
				.build();
		client.start();
              }
<dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo-dependencies-bom</artifactId>
     <version>${dubbo.version}</version>
     <type>pom</type>
     <scope>import</scope>
</dependency>

导致zoo客户端十分频繁的无法连接zoo服务器。 我使用的zookeeper服务器架在局域网上,在去掉上述dubbo-dependencies-bom后,连接正常

haozi000005 avatar Feb 27 '19 11:02 haozi000005

It is confused that there are two zk implements in dubbo.

Fuyao-JIANG avatar Feb 28 '19 08:02 Fuyao-JIANG

but my zkclient is a private instance @Fuyao-JIANG

haozi000005 avatar Feb 28 '19 12:02 haozi000005

related issue https://github.com/apache/incubator-dubbo/pull/3603

chickenlj avatar Mar 08 '19 07:03 chickenlj

导致zoo客户端十分频繁的无法连接zoo服务器。 我使用的zookeeper服务器架在局域网上,在去掉上述dubbo-dependencies-bom后,连接正常

I don't understand why dubbo-dependencies-bom will cause this problem.

chickenlj avatar Mar 08 '19 07:03 chickenlj