I hope this example will help you.
        byte [] info = {'c','o','n','f','i','g','=','1'};
                String create = zk1.create("/zk/child", 
info,Ids.OPEN_ACL_UNSAFE,
CreateMode.PERSISTENT);
                System.out.println(create);
        


Thanks,
Sunil Singh



--
View this message in context: 
http://zookeeper-user.578899.n2.nabble.com/ZooKeeper-create-tp6976443p7577855.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Reply via email to