an java agent that registers a service in zookeeper