Search before asking
Version
- OS:
<not applicable>
- Pulsar:
2.11.0
Details
Problem
The pulsar-client-all:2.11.0 dependency transitively includes Log4j2 (see here) rather than just the SLF4J api and logging bridge.
Whereas the pulsar-client-all:2.10.3 does NOT bring a logging impl in (see here).
Symptoms
If the consuming app is already using a logger impl then a conflict can occur at startup (when using SLF4J) telling user to pick one or the other.
If the consuming application is not already using a logger impl then pulsar-client-all effectively chooses LOG4J2 for the app.
What did you expect to see?
Adding the dependency org.apache.pulsar:pulsar-client-all:2.11.0 should NOT transitively bring in the log4j2 implementation.
What did you see instead?
Adding the dependency org.apache.pulsar:pulsar-client-all:2.11.0 transitively DID bring in the log4j2 implementation.
Anything else?
No response
Are you willing to submit a PR?
Search before asking
Version
<not applicable>2.11.0Details
Problem
The
pulsar-client-all:2.11.0dependency transitively includes Log4j2 (see here) rather than just the SLF4J api and logging bridge.Whereas the
pulsar-client-all:2.10.3does NOT bring a logging impl in (see here).Symptoms
If the consuming app is already using a logger impl then a conflict can occur at startup (when using SLF4J) telling user to pick one or the other.
If the consuming application is not already using a logger impl then
pulsar-client-alleffectively chooses LOG4J2 for the app.What did you expect to see?
Adding the dependency
org.apache.pulsar:pulsar-client-all:2.11.0should NOT transitively bring in the log4j2 implementation.What did you see instead?
Adding the dependency
org.apache.pulsar:pulsar-client-all:2.11.0transitively DID bring in the log4j2 implementation.Anything else?
No response
Are you willing to submit a PR?