Claus Ibsen created CAMEL-27448:
-----------------------------------

             Summary: camel-debezium - fail the start of the consumer when the 
Debezium engine cannot start
                 Key: CAMEL-27448
                 URL: https://issues.apache.org/jira/browse/CAMEL-27448
             Project: Camel
          Issue Type: Improvement
          Components: camel-debezium
            Reporter: Claus Ibsen
             Fix For: 4.24.0


When the Debezium engine fails to start, the Camel route keeps running and is 
never ready (0/1 in {{camel get}}), with only a WARN in the log:
{noformat}
Debezium engine has failed and stopped, no more change events are consumed
{noformat}
Seen with {{debezium-mysql}} and {{debezium-sqlserver}} for:
* MySQL with {{binlog_format=STATEMENT}};
* a lost schema history ({{The db history topic is missing}});
* a TLS connection that is refused (a self-signed certificate with 
{{trustServerCertificate=false}}).

An integration that never sends a change event but looks started is hard to 
notice in production.

Expected: an error of the engine during its start fails the start of the 
consumer (and so of the route and the integration), with the cause of Debezium 
in the message. An error later, while the engine runs, is reported through the 
route's error handling or health check instead of only a WARN. A test covers a 
start that fails.

Found while adding the debezium-mysql-source and debezium-sqlserver-source 
Kamelets (apache/camel-kamelets#3373, 2026-11-23).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to