Is there any way to update the znode data using Curator.

    CuratorFramework client = CuratorClient.createSimple("localhost:2181");
    client.start();

Suppose if the node (/my/example/hello) already exists and we just need to
update the znode data. Do I need to execute the below code again just to
update the data using curator?

    client.create().creatingParentsIfNeeded().forPath("/my/example/hello",
"new-data-inserted".getBytes());

or is there some better API for that?

Reply via email to