Apache Curator is an excellent client library for Zookeeper, however it is written in Java for the JVM.
Fortunately, by virtue of the miraculous IKVM project the Curator library can be made available to .NET projects. This repository contains the code necessary to create Curator.dll and package it for Nuget.
This DLL includes the Curator Recipes, e.g. Leader Election, Shared Lock, NodeCache. It also includes the curator-testing module.
In order to start the build and packaging:
$ build.cmd // on windows
$ build.sh // on mono
We wanted to automate Blue/Green deployment and failover of our services, so leader election was required. The LeaderLatch recipe has been working very well for us, but be advised that we haven't used all the Curator features or its recipes.
This project uses the F# Project Scaffold.
** The NuGet package is here.