Is there an embedded zookeeper so that we could use it in unit testing? It can be shipped with the test and run out of the box. Maybe we could mock some service and register to
You could use the zookeeper-maven-plugin, which is documented here.