You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace log4j-slf4j-impl with slf4j-api in spring-kafka-test
Change spring-kafka-test to depend on slf4j-api instead of
log4j-slf4j-impl. This removes the forced Log4j binding from the
API surface, allowing consumers to choose their own SLF4J
implementation while still providing the compile-time dependency
required by Kafka's Utils class.
The slf4j-api dependency is needed because Kafka 4.x client libraries
use SLF4J for logging (e.g., Utils.closeQuietly() references
org.slf4j.Logger). Tests continue to use Log4j via the testRuntimeOnly
dependency configured globally.
Signed-off-by: Soby Chacko <[email protected]>
0 commit comments