发布于 2015-10-15 00:26:53 | 195 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Apache Curator

Curator提供了对zookeeper客户端的封装,并监控连接状态和会话session,特别是会话session过期后,curator能够重新连接zookeeper,并且创建一个新的session。


Apache Curator 3.0.0 发布,该版本带来的对 ZooKeeper 的新的动态配置 APIs 的兼容,更新内容如下:

子任务

  • [CURATOR-160] - Support Dynamic Reconfig

  • [CURATOR-161] - Support Watcher Removal

  • [CURATOR-162] - Support Local Sessions

  • [CURATOR-214] - Support new create() APIs

  • [CURATOR-215] - Support async multi/transaction APIs

  • [CURATOR-217] - Use new Watcher Removal APIs in Curator Recipes

  • [CURATOR-247] - Extend Curator's connection state to support SESSION_LOST

  • [CURATOR-248] - Introduce pluggable error handlers

  • [CURATOR-249] - Update all Curator recipes to use new pluggable Error Handler

  • [CURATOR-253] - Use new injectSessionExpiration() in the test module

  • [CURATOR-265] - Dynamic Reconfig APIs needs some work and more accurate testing

  • [CURATOR-266] - Support updateServerList

Bug

  • [CURATOR-258] - PersistentEphemeralNode stops watching after first WatchedEvent

  • [CURATOR-260] - Fix tests in CURATOR-3.0

  • [CURATOR-268] - Curator client doesn't behave well when it loses connection: CRUD operation fail

提升

  • [CURATOR-159] - Parent Task for ZooKeeper 3.5.0 support

  • [CURATOR-186] - Port Curator to Jackson FasterXML library from Jackson Codehaus library

  • [CURATOR-257] - Thread.sleep in TestingZooKeeperMain.blockUntilStarted is costly for unit tests

  • [CURATOR-261] - ZooKeeper 3.5.x has enough APIs so that Javassist can be removed

新特性

  • [CURATOR-259] - Add try-with-resources class for Curator locks

详情请看发行日志

下载:http://www.apache.org/dyn/closer.cgi/curator/

zookeeper 的客户端调用过于复杂,Apache Curator 就是为了简化zookeeper客户端调用而生,利用它,可以更好的使用zookeeper。



历史版本 :
Apache Curator 4.0.0 发布,ZooKeeper 简化服务
Apache Curator 2.10.0 和 3.1.0 发布
Apache Curator 3.0.0 发布,ZooKeeper 客户端简化
Apache Curator 2.9 发布,ZooKeeper 客户端简化
Apache Curator 2.8.0 发布,简化 zookeeper 客户端
Apache Curator 2.7.1 发布,zookeeper 客户端简化
Apache Curator 2.7.0 发布
Apache Curator 2.6.0 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务