This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 16372550f2c4 CAMEL-27325: camel-kafka - upgrade the Confluent
serializers to 8.4.1, as the protobuf deserializer before 8.4 fails with Kafka
4.4 (#30538)
16372550f2c4 is described below
commit 16372550f2c44d2ea094e2ed288cefd6689a6875
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 21 09:10:46 2026 +0100
CAMEL-27325: camel-kafka - upgrade the Confluent serializers to 8.4.1, as
the protobuf deserializer before 8.4 fails with Kafka 4.4 (#30538)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../resources/org/apache/camel/catalog/docs/kafka-component.adoc | 2 +-
components/camel-kafka/src/main/docs/kafka-component.adoc | 2 +-
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 8 ++++++++
parent/pom.xml | 2 +-
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
index 6b02d329e3aa..7679e3c13ae1 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
@@ -1036,7 +1036,7 @@ For example with Maven, for Confluent and Avro:
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
- <version>8.3.3</version>
+ <version>8.4.1</version>
</dependency>
----
diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc
b/components/camel-kafka/src/main/docs/kafka-component.adoc
index 6b02d329e3aa..7679e3c13ae1 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -1036,7 +1036,7 @@ For example with Maven, for Confluent and Avro:
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
- <version>8.3.3</version>
+ <version>8.4.1</version>
</dependency>
----
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
index 0d6f85a9b627..aefced92c578 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
@@ -1014,6 +1014,14 @@ before each had a generated group of its own: routes
that consume the same topic
on each route that must receive every record. When both `groupId` and the
`group.id` property are set, `groupId` is
still used.
+=== camel-kafka - Kafka 4.4 needs the Confluent serializers 8.4 or newer
+
+Camel uses the Kafka 4.4 client, which moved
`org.apache.kafka.common.utils.ByteUtils` to
+`org.apache.kafka.common.utils.internals.ByteUtils`. The Confluent serializers
before 8.4 use the old class: the
+Protobuf deserializer (`KafkaProtobufDeserializer`) fails on every record with
+`NoClassDefFoundError: org/apache/kafka/common/utils/ByteUtils`. If your
application adds the Confluent serializer jars
+itself, upgrade them to 8.4.0 or newer. The Camel CLI downloads 8.4.1.
+
=== camel-jms, camel-sjms, camel-sjms2 - an exception sent back with
transferException is not rolled back
With `transferException=true`, a consumer that sends the exception of a failed
exchange back as the reply now always
diff --git a/parent/pom.xml b/parent/pom.xml
index 5cd30629dc31..979087c96702 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -143,7 +143,7 @@
<commons-text-version>1.15.0</commons-text-version>
<commons-validator-version>1.11.0</commons-validator-version>
<compress-lzf-version>1.2.1</compress-lzf-version>
- <confluent-serializer-version>8.3.3</confluent-serializer-version>
+ <confluent-serializer-version>8.4.1</confluent-serializer-version>
<consul-client-version>1.12.2</consul-client-version>
<couchbase-client-version>3.13.1</couchbase-client-version>
<curator-version>5.9.0</curator-version>