$ mvn test # spring-kafka replaced by spring-boot-starter-kafka; nothing else changed RESULT key=k1 id=o-1 qty=3 BROKERS localhost:PORT [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.853 s -- in com.ankurm.kafka.OrderFlowTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS org.apache.kafka:kafka-clients:jar:4.2.1:compile org.springframework.boot:spring-boot-kafka:jar:4.1.1:compile org.springframework.kafka:spring-kafka:jar:4.1.1:compile $ mvn dependency:list | grep jackson # runtime scope, then test scope runtime: tools.jackson.core:jackson-core:jar:3.1.5:compile runtime: tools.jackson.core:jackson-databind:jar:3.1.5:compile test-only: com.fasterxml.jackson.core:jackson-databind:jar:2.21.5:test