Hi devs,

I learn that PulsarAdminImpl has a static block requires classpath contains
exact either of

* slf4j-jdk14
* jul-to-slf4j

I'm curious what logging framework Pulsar choose among the codebase.
Basically we should
depend on either jul facade or slf4j facade, and leave the class loading
issue to users who
include libraries depending on other logging framework.

Current logic causes an issue that if user doesn't depend on both
slf4j-jdk14 and jul-to-slf4j,
PulsarAdminImpl will panic because it requires exact one of these two deps
in the classpath.
And thus user should add one of them (basically jul-to-slf4j) even if they
don't depend on it
effectively.

Best,
tison.

Reply via email to