[
https://issues.apache.org/jira/browse/CAMEL-27300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27300.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/30495 (commit b19ee3ccbe69).
_Claude Code on behalf of davsclaus_
> camel-protobuf - protobuf-java 4.35.1 is older than the runtime that the
> Apicurio Registry 3.3.4 protobuf serde was generated for
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27300
> URL: https://issues.apache.org/jira/browse/CAMEL-27300
> Project: Camel
> Issue Type: Bug
> Components: build system
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> Camel manages {{protobuf-version}} 4.35.1 and
> {{apicurio-registry-sdk-version}} 3.3.4. The Apicurio Registry 3.3.4 protobuf
> serde ({{io.apicurio:apicurio-registry-protobuf-serde-kafka}}) contains
> classes generated with protoc 4.36.2. Protobuf checks the runtime version
> when such a class is loaded, so with protobuf-java 4.35.1 on the classpath
> (camel-protobuf, or camel-kafka with the Apicurio protobuf serde) loading it
> fails with
> {{com.google.protobuf.RuntimeVersion$ProtobufRuntimeVersionException}}: the
> gencode 4.36.2 is newer than the runtime 4.35.1.
> Found with a Kafka consumer that uses the Apicurio
> {{ProtobufKafkaDeserializer}} with Camel 4.24.0-SNAPSHOT (Kamelet catalog,
> apache/camel-kamelets#3295).
> Expected: the protobuf-java version that Camel manages is at least the
> gencode version of the Apicurio serdes that Camel manages, so that the two
> work together.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)