[ 
https://issues.apache.org/jira/browse/CAMEL-27398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27398.
---------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/camel/pull/30618 (commit 
4ad0b6105305e3dc5ee617ac34e2814f8a85f7a4 on main), for 4.24.0.

_Claude Code on behalf of davsclaus_

> camel-debezium - fail at startup when the folder of offsetStorageFileName 
> does not exist or cannot be written
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27398
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27398
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-debezium
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> With the default offset store 
> ({{org.apache.kafka.connect.storage.FileOffsetBackingStore}}), Debezium saves 
> its position to {{offsetStorageFileName}}. When the folder of that file does 
> not exist (or is not writable), the consumer starts and sends the changes, 
> but every save of the position fails with only a WARN in the log. After a 
> restart, everything is sent again, the snapshot included.
> The position is what makes a CDC source safe to restart, so this should not 
> be a WARN.
> Expected: 
> {{EmbeddedDebeziumConfiguration.validateDebeziumEmbeddedEngineConfiguration()}},
>  which already checks that {{offsetStorageFileName}} is set for the file 
> store, also checks that its folder exists and is writable (and that the file, 
> if it exists, is writable), and the consumer fails at startup with a message 
> that names the file. The same for {{schemaHistoryInternalFileFilename}} of 
> the connectors that use a file schema history (MySQL, SQL Server, Oracle, 
> Db2).
> 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)

Reply via email to