Minor docs cleanup

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
This commit is contained in:
Soby Chacko
2025-04-29 09:30:56 -04:00
parent eec711cc84
commit 1b7d3dfb57

View File

@@ -4,7 +4,7 @@
When using Spring for Apache Kafka in a Spring Boot application, the Apache Kafka dependency versions are determined by Spring Boot's dependency management.
If you wish to use a different version of `kafka-clients` or `kafka-streams`, and use the embedded kafka broker for testing, you need to override their version used by Spring Boot dependency management; set the `kafka.version` property.
NOTE: Default `kafka-clients` dependencies for Spring Boot 3.1.x and 3.2.x are 3.4.1 and 3.6.2 respectively.
NOTE: Both Spring Boot 3.5.x and 3.4.x use the `kafka-clients` version 3.8.x and if users need to use 3.9.x client, they have to manually upgrade it using the method below.
Or, to use a different Spring for Apache Kafka version with a supported Spring Boot version, set the `spring-kafka.version` property.
@@ -15,7 +15,7 @@ Maven::
[source, xml, subs="+attributes", role="primary"]
----
<properties>
<kafka.version>3.5.1</kafka.version>
<kafka.version>4.0.0</kafka.version>
<spring-kafka.version>{project-version}</spring-kafka.version>
</properties>
@@ -51,4 +51,4 @@ dependencies {
----
======
The test scope dependencies are only needed if you are using the embedded Kafka broker in tests.
The test scope dependencies are only needed if you are using the embedded Kafka broker in tests.