Hi bookkeepers!

Using BK in many project I had to write each time boilerplate code to
create a BK embedded instance. With changes published in 4.15 I had to
change such code in each project to handle the new interfaces.

I think a public API to create server instances from configuration would be
really really useful.

I published a PR https://github.com/apache/bookkeeper/pull/3489 to adda
simple way to create an embeddable server. All the code was really already
there in Main class, just needed to be refactored a little to insert a
builder pattern. I've added many parameters on builder to be able to
provide instances for many component instead to build them from the
configuration (for example to provide your statsprovider instance).

What do you think about it?

Diego Salvi

Reply via email to