zk-ruby / zookeeper

Zookeeper bindings for Ruby
MIT License
148 stars 75 forks source link

Expose reconfig calls from the API #92

Open Lqp1 opened 3 years ago

Lqp1 commented 3 years ago

Hello,

I'd like to use this gem to dynamically reconfigure my Zookeeper cluster in a chef cookbook, but it does not appear to expose the reconfig command. reconfig command allows an Admin to change dynamic configuration since zookeeper 3.5.2 and is explained in official doc.

I don't know if this is actually really missing from the gem or if there is another way to do it (maybe changing directly node content in /zookeeper/config ?). I can work a bit on this if you have any pointer to give?

Thanks for your help.