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
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