Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - ANN: Curator 1.1.0


Copy link to this message
-
ANN: Curator 1.1.0
Jordan Zimmerman 2012-01-06, 00:42
I've just released Curator 1.1.0 that adds support for ZooKeeper transactions. I'm now going to maintain two branches of Curator:

  *   1.0.x for ZooKeeper 3.3.x
  *   1.1.x+ for ZooKeeper 3.4.x+

The Curator Transaction APIs use the same oh-so-cool Fluent style as the rest of Curator. E.g.

                client.inTransaction()
                    .create().forPath("/foo", "one".getBytes())
                .and()
                    .create().withMode(CreateMode.PERSISTENT_SEQUENTIAL).forPath("/test-", "one".getBytes())
                .and()
                    .setData().forPath("/foo", "two".getBytes())
                .and()
                    .delete().forPath("/foo/bar")
                .and()
                    .commit();

-Jordan