Claus Ibsen created CAMEL-27400:
-----------------------------------
Summary: camel-debezium - depend on debezium-storage-kafka
directly, as the Kafka offset store needs it
Key: CAMEL-27400
URL: https://issues.apache.org/jira/browse/CAMEL-27400
Project: Camel
Issue Type: Improvement
Components: camel-debezium
Reporter: Claus Ibsen
Fix For: 4.24.0
With
{{offsetStorage=org.apache.kafka.connect.storage.KafkaOffsetBackingStore}}, the
offset store works with Kafka 4.x only through the {{OffsetStoreProvider}} of
{{io.debezium:debezium-storage-kafka}}, because the Kafka class no longer has
the no-argument constructor that the embedded engine used.
camel-debezium-common declares {{debezium-storage-file}} directly, but gets
{{debezium-storage-kafka}} only as a transitive dependency of
{{debezium-embedded}}.
Expected: camel-debezium-common declares {{debezium-storage-kafka}} directly
too, so the Kafka store keeps working if Debezium changes its transitive
dependencies. A test (or the docs of {{offsetStorage}}) covers the Kafka store.
Tested with the Kamelet: the Kafka store on {{apache/kafka:4.4.0}} saves and
restores the position.
Found while adding the debezium-postgresql-source Kamelet to the Kamelet
catalog (apache/camel-kamelets#3363, 2026-11-22).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)