embedded zookeeper for unit/integration test

后端 未结 4 992
我寻月下人不归
我寻月下人不归 2021-02-07 10:56

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

4条回答
  •  一生所求
    2021-02-07 11:40

    The zookeeper project produces a "fat-jar" that it uses itself for system test.

    There is a written up README, showing how easy it is to launch, but unfortunately it is not being made as an artifact, so cannot be linked to maven.

提交回复
热议问题