-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hi Guys
ttl and container nodes was add in zookeeper 3.5.3
[zk: localhost:2181(CONNECTED) 0] create -t 20 /xxx
Created /xxx
[zk: localhost:2181(CONNECTED) 1] create -c /bbb
Created /bbb
2.4.5 :017 > @z = ::ZK.new("127.0.0.1:2181")
=> #<ZK::Client::Threaded:39575600 zk_session_id=0x10164caa7180003 ...>
2.4.5 :020 > @z.create "/v" , :t => 20
Traceback (most recent call last):
1: from (irb):20
Zookeeper::Exceptions::BadArguments (Supported arguments are: [:path, :data, :acl, :ephemeral, :sequence, :callback, :callback_context], but arguments [:path, :data, :ephemeral, :sequence, :t] were supplied instead)
2.4.5 :020 > @z.create "/v" , :c => 20
Traceback (most recent call last):
1: from (irb):20
Zookeeper::Exceptions::BadArguments (Supported arguments are: [:path, :data, :acl, :ephemeral, :sequence, :callback, :callback_context], but arguments [:path, :data, :ephemeral, :sequence, :c] were supplied instead)