Skip to content

Commit

Permalink
Kafka Confluent avro schema serializer doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
ozangunalp authored and nderwin committed Oct 31, 2023
1 parent bc86850 commit 24b8f23
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
23 changes: 18 additions & 5 deletions docs/src/main/asciidoc/kafka-schema-registry-avro.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -795,12 +795,25 @@ dependencies {
----

In JVM mode, any version of `io.confluent:kafka-avro-serializer` can be used.
In native mode, Quarkus only supports the following versions:
In native mode, Quarkus supports the following versions: `6.2.x`, `7.0.x`, `7.1.x`, `7.2.x`, `7.3.x`.

* 6.2.x
* 7.0.x
* 7.1.x
* 7.2.x
For version `7.4.x` and `7.5.x`, due to an issue with the Confluent Schema Serializer, you need to add another dependency:

[source,xml,role="primary asciidoc-tabs-target-sync-cli asciidoc-tabs-target-sync-maven"]
.pom.xml
----
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
</dependency>
----
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
dependencies {
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-csv")
}
----

For any other versions, the native configuration may need to be adjusted.

Expand Down
6 changes: 5 additions & 1 deletion integration-tests/kafka-avro-apicurio2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,18 @@
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>7.2.1</version>
<version>7.5.1</version>
<exclusions>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
</dependency>
<!-- Apicurio & Confluent -->
<dependency>
<groupId>io.quarkus</groupId>
Expand Down

0 comments on commit 24b8f23

Please sign in to comment.