shayhatsor / zookeeper

Apache ZooKeeper .NET async Client
https://nuget.org/packages/ZooKeeperNetEx/
Apache License 2.0
236 stars 53 forks source link

ZooKeeper.updateServerList #22

Closed bitchkat closed 6 years ago

bitchkat commented 6 years ago

I'm working on porting Apache Curator to .Net and it makes a call to ZooKeeper.updateServerList(String)

Any chance we can get that added to your ZooKeeper class?

shayhatsor commented 6 years ago

This is one of those rare chunks of code that I didn't port from java. I'll see how I can port it, the only problem is that it changes the server list on a running ZK client, which will probably cause race conditions.

bitchkat commented 6 years ago

Thanks. For the record, I ended running modifying this chunk of code to use reflection to only invoke the method if it exists.