Skip to content

Exclude slf4j-log4j12 and log4j from spring-kafka-test #1991

@rroesch1

Description

@rroesch1

GH-1966 introduced org.apache.zookeeper:zookeeper as dependency to spring-kafka-test. zookeeper includes the log4j dependencies org.slf4j:slf4j-log4j12 (log4j binding for SLF4J) and log4j:log4j (log4j). Adding slf4j-log4j12 to the test-classpath may harm the logging behaviour during test execution if the application already includes another SLF4J binding.

-> Please exclude org.slf4j:slf4j-log4j12 and log4j:log4j from spring-kafka-test.

(FYI; Zookeeper is a transitive dependency of Kafka 2.x, but slf4j-log4j12 and log4j have been excluded.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions