Skip to content

Commit 564ffc2

Browse files
committed
GH-780: Docs for using the 2.0.0 clients
Resolves #780
1 parent cc3d421 commit 564ffc2

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

src/reference/asciidoc/appendix.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[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
33

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:
55

66
[source, xml]
77
----
@@ -21,32 +21,35 @@ When using `spring-kafka-test` (_version 2.1.x_, starting with _version 2.1.5_)
2121
<dependency>
2222
<groupId>org.apache.kafka</groupId>
2323
<artifactId>kafka-clients</artifactId>
24-
<version>1.1.0</version>
24+
<version>1.1.1</version>
2525
</dependency>
2626
2727
<dependency>
2828
<groupId>org.apache.kafka</groupId>
2929
<artifactId>kafka-clients</artifactId>
30-
<version>1.1.0</version>
30+
<version>1.1.1</version>
3131
<classifier>test</classifier>
3232
</dependency>
3333
3434
<dependency>
3535
<groupId>org.apache.kafka</groupId>
3636
<artifactId>kafka_2.11</artifactId>
37-
<version>1.1.0</version>
37+
<version>1.1.1</version>
3838
<scope>test</scope>
3939
</dependency>
4040
4141
<dependency>
4242
<groupId>org.apache.kafka</groupId>
4343
<artifactId>kafka_2.11</artifactId>
44-
<version>1.1.0</version>
44+
<version>1.1.1</version>
4545
<classifier>test</classifier>
4646
<scope>test</scope>
4747
</dependency>
4848
----
4949

50+
Starting with version 2.1.9, the 2.0.0 `kafka-clients` jar can be used with similar overrides to those described above.
51+
52+
[appendix]
5053
[[history]]
5154
== Change History
5255

src/reference/asciidoc/quick-tour.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ compile 'org.springframework.kafka:spring-kafka:{spring-kafka-version}'
2828
[[compatibility]]
2929
===== Compatibility
3030

31-
- Apache Kafka Clients 1.0.0
31+
- Apache Kafka Clients 1.0.x or later (See note below)
3232
- Spring Framework 5.0.x
3333
- Minimum Java version: 8
3434

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>>.
36+
3537
===== Very, Very Quick
3638

3739
Using plain Java to send and receive a message:

0 commit comments

Comments
 (0)