ZooKeeper 客戶端簡化,Apache Curator 3.0.0 發布

jopen 9年前發布 | 15K 次閱讀 Apache Curator

zookeeper 的客戶端調用過于復雜,Apache Curator 就是為了簡化zookeeper客戶端調用而生,利用它,可以更好的使用zookeeper。

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/


 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!