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
Copy file name to clipboardExpand all lines: src/reference/asciidoc/appendix.adoc
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[[deps-for-11x]]
2
-
== Override Dependencies to use the 1.1.x kafka-clients
2
+
== Override Dependencies to use the 1.1.x/2.0.x kafka-clients with an Embedded Broker
3
3
4
-
When using `spring-kafka-test` (_version 2.1.x_, starting with _version 2.1.5_) with the 1.1.x `kafka-clients` jar, you will need to override certain transitive dependencies as follows:
4
+
When using `spring-kafka-test` (version 2.1.x, starting with version 2.1.5) with the 1.1.x `kafka-clients` jar, you will need to override certain transitive dependencies as follows:
5
5
6
6
[source, xml]
7
7
----
@@ -21,32 +21,35 @@ When using `spring-kafka-test` (_version 2.1.x_, starting with _version 2.1.5_)
21
21
<dependency>
22
22
<groupId>org.apache.kafka</groupId>
23
23
<artifactId>kafka-clients</artifactId>
24
-
<version>1.1.0</version>
24
+
<version>1.1.1</version>
25
25
</dependency>
26
26
27
27
<dependency>
28
28
<groupId>org.apache.kafka</groupId>
29
29
<artifactId>kafka-clients</artifactId>
30
-
<version>1.1.0</version>
30
+
<version>1.1.1</version>
31
31
<classifier>test</classifier>
32
32
</dependency>
33
33
34
34
<dependency>
35
35
<groupId>org.apache.kafka</groupId>
36
36
<artifactId>kafka_2.11</artifactId>
37
-
<version>1.1.0</version>
37
+
<version>1.1.1</version>
38
38
<scope>test</scope>
39
39
</dependency>
40
40
41
41
<dependency>
42
42
<groupId>org.apache.kafka</groupId>
43
43
<artifactId>kafka_2.11</artifactId>
44
-
<version>1.1.0</version>
44
+
<version>1.1.1</version>
45
45
<classifier>test</classifier>
46
46
<scope>test</scope>
47
47
</dependency>
48
48
----
49
49
50
+
Starting with version 2.1.9, the 2.0.0 `kafka-clients` jar can be used with similar overrides to those described above.
- Apache Kafka Clients 1.0.x or later (See note below)
32
32
- Spring Framework 5.0.x
33
33
- Minimum Java version: 8
34
34
35
+
NOTE: The framework has been tested with `kafka-clients` 1.1.1 and 2.0.0; when using the `spring-kafka-test` embedded Kafka broker, you must override other jars, as described in <<deps-for-11x>>.
0 commit comments