@@ -29,6 +29,13 @@ When you use `spring-kafka-test` (version 2.4.x) with Spring Boot, you need to o
2929 <version>2.4.1</version>
3030</dependency>
3131
32+ <!-- optional - only needed when using kafka-streams -->
33+ <dependency>
34+ <groupId>org.apache.kafka</groupId>
35+ <artifactId>kafka-streams</artifactId>
36+ <version>2.4.1</version>
37+ </dependency>
38+
3239<dependency>
3340 <groupId>org.apache.kafka</groupId>
3441 <artifactId>kafka-clients</artifactId>
@@ -61,15 +68,16 @@ When you use `spring-kafka-test` (version 2.4.x) with Spring Boot, you need to o
6168----
6269dependencies {
6370
64- implementation 'org.springframework.kafka:spring-kafka:{project-version}'
71+ implementation 'org.springframework.kafka:spring-kafka:{project-version}'
6572
66- implementation 'org.apache.kafka:kafka-clients:2.4.1'
67- testImplementation ('org.springframework.kafka:spring-kafka-test:{project-version}') {
68- exclude module: 'kafka_2.11'
69- }
70- testImplementation 'org.apache.kafka:kafka-clients:2.4.1:test'
71- testImplementation 'org.apache.kafka:kafka_2.12:2.4.1'
72- testImplementation 'org.apache.kafka:kafka_2.12:2.4.1:test'
73+ implementation 'org.apache.kafka:kafka-clients:2.4.1'
74+ implementation 'org.apache.kafka:kafka-streams:2.4.1' // optional - only needed when using kafka-streams
75+ testImplementation ('org.springframework.kafka:spring-kafka-test:{project-version}') {
76+ exclude module: 'kafka_2.11'
77+ }
78+ testImplementation 'org.apache.kafka:kafka-clients:2.4.1:test'
79+ testImplementation 'org.apache.kafka:kafka_2.12:2.4.1'
80+ testImplementation 'org.apache.kafka:kafka_2.12:2.4.1:test'
7381
7482}
7583----
0 commit comments