Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between curator client and dubbo #3574

Closed
haozi000005 opened this issue Feb 27, 2019 · 4 comments
Closed

Conflict between curator client and dubbo #3574

haozi000005 opened this issue Feb 27, 2019 · 4 comments
Milestone

Comments

@haozi000005
Copy link

haozi000005 commented Feb 27, 2019

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后,连接正常

@Fuyao-JIANG
Copy link

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

@haozi000005
Copy link
Author

but my zkclient is a private instance @Fuyao-JIANG

@chickenlj
Copy link
Contributor

related issue #3603

@chickenlj
Copy link
Contributor

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

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

@beiwei30 beiwei30 added this to the 2.7.1 milestone Mar 14, 2019
@beiwei30 beiwei30 changed the title Curator客户端和dubbo冲突 Conflict between curator client and dubbo Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants