Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zookeeper zk doesn't support ttl container nodes #103

Open
xiangfei opened this issue Mar 25, 2020 · 0 comments
Open

zookeeper zk doesn't support ttl container nodes #103

xiangfei opened this issue Mar 25, 2020 · 0 comments

Comments

@xiangfei
Copy link

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("192.168.213.58:2181")
=> #<ZK::Client::Threaded:39575600 zk_session_id=0x10164caa7180003 ...>
2.4.5 :020 > @z.create "/vv3v" , :ttl => 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, :ttl] were supplied instead)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant