@@ -27,6 +27,13 @@ When you use `spring-kafka-test` (version 2.4.x) with Spring Boot, you need to o
2727 <version>2.4.1</version>
2828</dependency>
2929
30+ <!-- optional - only needed when using kafka-streams -->
31+ <dependency>
32+ <groupId>org.apache.kafka</groupId>
33+ <artifactId>kafka-streams</artifactId>
34+ <version>2.4.1</version>
35+ </dependency>
36+
3037<dependency>
3138 <groupId>org.apache.kafka</groupId>
3239 <artifactId>kafka-clients</artifactId>
@@ -59,15 +66,16 @@ When you use `spring-kafka-test` (version 2.4.x) with Spring Boot, you need to o
5966----
6067dependencies {
6168
62- implementation 'org.springframework.kafka:spring-kafka:{project-version}'
69+ implementation 'org.springframework.kafka:spring-kafka:{project-version}'
6370
64- implementation 'org.apache.kafka:kafka-clients:2.4.1'
65- testImplementation ('org.springframework.kafka:spring-kafka-test:{project-version}') {
66- exclude module: 'kafka_2.11'
67- }
68- testImplementation 'org.apache.kafka:kafka-clients:2.4.1:test'
69- testImplementation 'org.apache.kafka:kafka_2.12:2.4.1'
70- testImplementation 'org.apache.kafka:kafka_2.12:2.4.1:test'
71+ implementation 'org.apache.kafka:kafka-clients:2.4.1'
72+ implementation 'org.apache.kafka:kafka-streams:2.4.1' // optional - only needed when using kafka-streams
73+ testImplementation ('org.springframework.kafka:spring-kafka-test:{project-version}') {
74+ exclude module: 'kafka_2.11'
75+ }
76+ testImplementation 'org.apache.kafka:kafka-clients:2.4.1:test'
77+ testImplementation 'org.apache.kafka:kafka_2.12:2.4.1'
78+ testImplementation 'org.apache.kafka:kafka_2.12:2.4.1:test'
7179
7280}
7381----
0 commit comments