We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: