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: spring-kafka-docs/src/main/asciidoc/appendix.adoc
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
-
////
2
1
[[update-deps]]
3
2
== Override Spring Boot Dependencies
4
3
5
4
When using Spring for Apache Kafka in a Spring Boot application, the Apache Kafka dependency versions are determined by Spring Boot's dependency management.
6
-
If you wish to use a different version of `kafka-clients` or `kafka-streams`, such as 3.0.0, you need to override all of the associated dependencies.
5
+
If you wish to use a different version of `kafka-clients` or `kafka-streams`, you need to override all of the associated dependencies.
7
6
This is especially true when using the embedded Kafka broker in `spring-kafka-test`.
8
7
9
-
IMPORTANT: Backwards compatibility is not supported for all Boot versions; Spring for Apache Kafka 2.8 has been tested with Spring Boot 2.5 and 2.6.
10
-
11
-
IMPORTANT: When using the 3.0.0 clients, the default `EOSMode.V2` is not supported unless the broker is 2.5 or higher; if you wish to use the 3.0.0 clients with an earlier broker, you must change the container's `EOSMode` to `V1`.
8
+
IMPORTANT: There is a bug in Apache Kafka 3.0.0 when running the embedded broker on Microsoft Windows https://issues.apache.org/jira/browse/KAFKA-13391[KAFKA-13391].
9
+
To use the embedded broker on Windows, you need to downgrade the Apache Kafka version to 2.8.1 until 3.0.1 is available.
10
+
When using 2.8.1, you also need to exclude `spring-kafka-test` 's `zookeeper` dependency.
12
11
13
12
====
14
13
[source, xml, subs="+attributes", role="primary"]
@@ -46,6 +45,13 @@ IMPORTANT: When using the 3.0.0 clients, the default `EOSMode.V2` is not support
46
45
<version>{kafka-version}</version>
47
46
<classifier>test</classifier>
48
47
<scope>test</scope>
48
+
<!-- needed if downgrading to Apache Kafka 2.8.1 -->
0 commit comments