Hi,
I would like to ease the development of BookKeeper based applications.

Currently if you want to perform unit tests of your application you
have to start a ZooKeeper server and at least one Bookie.
This is more like an integration test ! and it is really heavy weight.

In order to get rid of ZooKeeper dependency in tests we could set up a
mock Metadata Driver that holds all Metadata in memory.
In order to not use network we can use the Netty Local Transport
option (already present in BK since 4.5)
We could have a mock LedgerStorageManager that holds data in memory
Then we only have to implement a mock Journal and all is done.


Does anyone have experience ?
Does anyone would like these features ?

I would move this conversation to dev@bookkeeper if there is any interest.


Cheers
Enrico

Reply via email to