Skip to content

Commit

Permalink
Document Using Kafka 3.6.0 With This Version (#2844)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell authored Oct 16, 2023
1 parent 98029e3 commit acc1c9c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions spring-kafka-docs/src/main/asciidoc/appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For example, {project-version} is supported by Spring Boot 2.7.x which brings in
.Maven
----
<properties>
<kafka.version>3.5.0</kafka.version>
<kafka.version>3.6.0</kafka.version>
<spring-kafka.version>{project-version}</spring-kafka.version>
</properties>
Expand All @@ -33,18 +33,29 @@ For example, {project-version} is supported by Spring Boot 2.7.x which brings in
<artifactId>spring-kafka-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Required for the embedded broker when using 3.6.0 or later with Boot 2.7.x -->
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-server-common</artifactId>
<classifier>test</classifier>
<scope>test</scope>
<version>${kafka.version}</version>
</dependency>
----
[source, groovy, subs="+attributes", role="secondary"]
.Gradle
----
ext['kafka.version'] = '3.5.0'
ext['kafka.version'] = '3.6.0'
ext['spring-kafka.version'] = '{project-version}'
dependencies {
implementation 'org.springframework.kafka:spring-kafka'
implementation 'org.apache.kafka:kafka-streams' // optional - only needed when using kafka-streams
testImplementation 'org.springframework.kafka:spring-kafka-test'
// the following is required for the embedded broker when using 3.6.0 or later with Boot 2.7.x
testImplementation "org.apache.kafka:kafka-server-common:$kafka.version:test"
}
----
====
Expand Down

0 comments on commit acc1c9c

Please sign in to comment.