Re: Resolving classpath problem with Pulsar IO and PulsarAdmin/PulsarClient

2021-05-07 Thread Devin Bost
If we're going to use dependency injection on the Java side, I recommend using Dagger2 since it's much easier to maintain than other Java DI frameworks. I love DI, and I've thought about introducing it in Pulsar already. However, with that said, DI doesn't necessarily remove dependencies; it just m

Re: Resolving classpath problem with Pulsar IO and PulsarAdmin/PulsarClient

2021-05-07 Thread Sijie Guo
Enrico, I think there are a couple of different things coupled in this proposal. Let's make them clear before talking about dependency injection. 1) The main problem of PulsarAdmin is not dependency injection. The main problem is PulsarAdmin uses classes from 3rd party dependencies. PR#9842

Resolving classpath problem with Pulsar IO and PulsarAdmin/PulsarClient

2021-05-07 Thread Enrico Olivelli
Hello, currently in 2.8.0-SNAPSHOT we added an API to access PulsarAdmin from a Pulsar Sink Connector. The Api is Context.getPulsarAdmin and Context.getPulsarAdmin(clusterName) https://github.com/apache/pulsar/blob/0469dfe2c7804bd9ca9ea34e95d83b2196216cf9/pulsar-functions/api-java/src/main/java/o

Re: [ANNOUNCE] New committer: Lari Hotari

2021-05-07 Thread Guangning E
Congrats Lari! Aparnesh Gaurav 于2021年5月7日周五 下午9:12写道: > Congratulations Lari !! > > On Fri, May 7, 2021 at 6:10 AM Zhengxin Cai wrote: > > > Congrats Lari! > > > > Best, > > Marvin, > > > > Matteo Merli 于2021年5月7日周五 上午2:36写道: > > > > > Hi everyone, > > > > > > The Project Management Committee

Re: [ANNOUNCE] New committer: Lari Hotari

2021-05-07 Thread Aparnesh Gaurav
Congratulations Lari !! On Fri, May 7, 2021 at 6:10 AM Zhengxin Cai wrote: > Congrats Lari! > > Best, > Marvin, > > Matteo Merli 于2021年5月7日周五 上午2:36写道: > > > Hi everyone, > > > > The Project Management Committee (PMC) for Apache Pulsar has invited > > Lari Hotari (https://github.com/lhotari) to

Re: [ANNOUNCE] New committer: Lari Hotari

2021-05-07 Thread Zhengxin Cai
Congrats Lari! Best, Marvin, Matteo Merli 于2021年5月7日周五 上午2:36写道: > Hi everyone, > > The Project Management Committee (PMC) for Apache Pulsar has invited > Lari Hotari (https://github.com/lhotari) to become a committer and we > are pleased to announce that he has accepted. > > Please join us in