Skip to content

Commit 0e90111

Browse files
committed
Doc 1.0.x client override
1 parent 83d8a6b commit 0e90111

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed
Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
1+
[[deps-for-10x]]
2+
== Override Dependencies to use the 1.0.x kafka-clients
3+
4+
When using `spring-kafka-test` (_version 1.3.x_, starting with _version 1.3.5_) with the 1.0.x `kafka-clients` jar, you will need to override certain transitive dependencies as follows:
5+
6+
[source, xml]
7+
----
8+
<dependency>
9+
<groupId>org.springframework.kafka</groupId>
10+
<artifactId>spring-kafka</artifactId>
11+
<version>${spring.kafka.version}</version>
12+
</dependency>
13+
14+
<dependency>
15+
<groupId>org.springframework.kafka</groupId>
16+
<artifactId>spring-kafka-test</artifactId>
17+
<version>${spring.kafka.version}</version>
18+
<scope>test</scope>
19+
</dependency>
20+
21+
<dependency>
22+
<groupId>org.apache.kafka</groupId>
23+
<artifactId>kafka-clients</artifactId>
24+
<version>1.0.1</version>
25+
</dependency>
26+
27+
<dependency>
28+
<groupId>org.apache.kafka</groupId>
29+
<artifactId>kafka-clients</artifactId>
30+
<version>1.0.1</version>
31+
<classifier>test</classifier>
32+
</dependency>
33+
34+
<dependency>
35+
<groupId>org.apache.kafka</groupId>
36+
<artifactId>kafka_2.11</artifactId>
37+
<version>1.0.1</version>
38+
<scope>test</scope>
39+
</dependency>
40+
41+
<dependency>
42+
<groupId>org.apache.kafka</groupId>
43+
<artifactId>kafka_2.11</artifactId>
44+
<version>1.0.1</version>
45+
<classifier>test</classifier>
46+
<scope>test</scope>
47+
</dependency>
48+
----
49+
150
[[history]]
251
== Change History
352

4-
include::./changes-1.0-1.1.adoc[]
53+
include::./changes-1.0-1.1.adoc[]

0 commit comments

Comments
 (0)