zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject ANN: Curator 1.1.0
Date Fri, 06 Jan 2012 00:42:58 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message