From 4390405eff55a4ff596c00596f53a5534f4088b6 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 27 Nov 2018 09:34:44 -0500 Subject: [PATCH] Add appendix for 2.1.x kafka-clients jar --- src/reference/asciidoc/appendix.adoc | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/src/reference/asciidoc/appendix.adoc b/src/reference/asciidoc/appendix.adoc index 1bbf38db..f2eca95e 100644 --- a/src/reference/asciidoc/appendix.adoc +++ b/src/reference/asciidoc/appendix.adoc @@ -1,3 +1,53 @@ +[[deps-for-21x]] +== Override Dependencies to use the 2.1.x kafka-clients with an Embedded Broker + +When using `spring-kafka-test` (version 2.2.x) with the 2.1.x `kafka-clients` jar, you will need to override certain transitive dependencies as follows: + +[source, xml] +---- + + org.springframework.kafka + spring-kafka + ${spring.kafka.version} + + + + org.springframework.kafka + spring-kafka-test + ${spring.kafka.version} + test + + + + org.apache.kafka + kafka-clients + 2.1.0 + + + + org.apache.kafka + kafka-clients + 2.1.0 + test + + + + org.apache.kafka + kafka_2.11 + 2.1.0 + test + + + + org.apache.kafka + kafka_2.11 + 2.1.0 + test + test + +---- + +[appendix] [[history]] == Change History