发布于 2015-09-12 01:01:12 | 336 次阅读 | 评论: 0 | 来源: 网友投递
Apache Curator
Curator提供了对zookeeper客户端的封装,并监控连接状态和会话session,特别是会话session过期后,curator能够重新连接zookeeper,并且创建一个新的session。
Apache Curator 2.9 发布,此版本改进了 Java 库,使得 Apache ZooKeeper 使用更简单更可靠。
更新内容:
[CURATOR-167] - All registered watchers should be cleared on close
[CURATOR-218] - Race condition in client.blockUntilConnected()
[CURATOR-224] - Locking Not Working with DistributedIdQueue
[CURATOR-228] - A serious death cycle error(一个严重的死循环错误)
[CURATOR-231] - TestDistributedQueue.testRetryAfterFailure_Curator56 fails
[CURATOR-234] - Add test logging back to modules
[CURATOR-235] - LeaderSelector.internalRequeue should be private
[CURATOR-236] - TreeCache throws IllegalArgumentException when node is a substring of the requested path
[CURATOR-240] - Severe memory leak in TreeCache when path does not exist
[CURATOR-241] - PersistentEphemeralNode writes initial data on reconnect
[CURATOR-242] - TestDistributedQueue.testCustomExecutor() is failing
[CURATOR-243] - TestDistributedIdQueue.testRequeuingWithLock is failing
[CURATOR-254] - TestBoundedDistributedQueue:testMulti fails intermittently
[CURATOR-129] - Two of PathChildrenCache's constructors need better doc
[CURATOR-223] - PathChildrenCache (wastefully) creates a thread per monitored node.
[CURATOR-222] - Support Container Nodes
下载:http://www.apache.org/dyn/closer.cgi/curator/
(mirror sync times may vary)
zookeeper 的客户端调用过于复杂,Apache Curator 就是为了简化zookeeper客户端调用而生,利用它,可以更好的使用zookeeper。