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

make zookeeper registry configurable #23

Merged
merged 1 commit into from
Apr 28, 2016

Conversation

qdaxb
Copy link
Collaborator

@qdaxb qdaxb commented Apr 27, 2016

make zookeeper registry configurable for connection timeout and session timeout
@sunnights

@qdaxb qdaxb force-pushed the zookeeper_connection_timeout branch from ba01f44 to 4b7ec9b Compare April 28, 2016 06:01
registryUrl.getIntParameter(URLParamType.registrySessionTimeout.getName(),
URLParamType.registrySessionTimeout.getIntValue());
ZkClient zkClient = new ZkClient(registryUrl.getParameter("address"), sessionTimeout, timeout);
return new ZookeeperRegistry(registryUrl, zkClient);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个方法还标记这过时呢

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

忽略,我本地代码有问题

@half-dead half-dead merged commit 60dcc0b into weibocom:master Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants