Apache Curator 3.0.0 发布,ZooKeeper 客户端简化
欢迎加入运维网交流群:263444886Apache Curator 3.0.0 发布,该版本带来的对 ZooKeeper 的新的动态配置 APIs 的兼容,更新内容如下:
子任务
[*] - Support Dynamic Reconfig
[*] - Support Watcher Removal
[*] - Support Local Sessions
[*] - Support new create() APIs
[*] - Support async multi/transaction APIs
[*] - Use new Watcher Removal APIs in Curator Recipes
[*] - Extend Curator's connection state to support SESSION_LOST
[*] - Introduce pluggable error handlers
[*] - Update all Curator recipes to use new pluggable Error Handler
[*] - Use new injectSessionExpiration() in the test module
[*] - Dynamic Reconfig APIs needs some work and more accurate testing
[*] - Support updateServerList
Bug
[*] - PersistentEphemeralNode stops watching after first WatchedEvent
[*] - Fix tests in CURATOR-3.0
[*] - Curator client doesn't behave well when it loses connection: CRUD operation fail
提升
[*] - Parent Task for ZooKeeper 3.5.0 support
[*] - Port Curator to Jackson FasterXML library from Jackson Codehaus library
[*] - Thread.sleep in TestingZooKeeperMain.blockUntilStarted is costly for unit tests
[*] - ZooKeeper 3.5.x has enough APIs so that Javassist can be removed
新特性
[*]
- Add try-with-resources>
详情请看发行日志。
下载:http://www.apache.org/dyn/closer.cgi/curator/
zookeeper 的客户端调用过于复杂,Apache Curator 就是为了简化zookeeper客户端调用而生,利用它,可以更好的使用zookeeper。
页:
[1]