> Does anyone have experience ? > Does anyone would like these features ? There's already something in the tree. https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/MockBookKeeper.java
The problem with this is that sometimes the mock in incomplete or you want to trigger certain behaviour. If you rely on the mock in the bookkeeper release, you need to wait for a new release to get what you want. In most cases you're better off copying the mock into your own code and modifying it accordingly. Pulsar does this. In fact, this mock was originally part of pulsar, was copied into BK then copied back into pulsar when we realized some behaviour was broken (I think it was close behaviour at the time). -Ivan
