jordansjones / Draft

An etcd client library for .Net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please support multiple endpoints...

jvrobert opened this issue · comments

First - thanks for the library, seems to work well and looks cleaner than some of the other etcd clients. The work is appreciated.

Second - any chance of adding support for a Uri[] array for the ClientFor factory? I have 5 instances, ideally it would iterate through and find the first one that's up to use.

I will probably use my own wrapper to do this for now, but if you get bored ;)

I went a bit further in my perl client and actually assert that the server is up and working (and optionally the master) before every request. Bit slower but I'm more worried about resiliency at this point.

Thank you very much. I am really surprised to have feed back so quickly as this project was started just under a month ago.

I do have plans on adding an asynchronous Etcd.ClientFor method that will check that the supplied Uri points to an Etcd server. I will most likely make the new, and convert the existing, to be variadic methods. This is something that I will work on within the next few days.

This is now on Nuget.org