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