You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Jordan Zimmerman <jz...@netflix.com> on 2012/01/06 01:42:58 UTC

ANN: Curator 1.1.0

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