I've opened BP-57 <https://github.com/apache/bookkeeper/issues/3494>

Diego Salvi

Il giorno dom 18 set 2022 alle ore 14:46 Enrico Olivelli <
eolive...@gmail.com> ha scritto:

> Diego,
> That's a great idea!
>
> Looking forward for the BP
>
>
> Enrico
>
> Il Mer 14 Set 2022, 12:24 Lothruin Mirwen <lothruin.mir...@gmail.com> ha
> scritto:
>
> > 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