This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch CAMEL-26967-guide-4.22.3 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 217650520bc3566a0daf6bde910e36e0ca68978d Author: Claus Ibsen <[email protected]> AuthorDate: Thu Nov 19 07:59:00 2026 +0100 CAMEL-26967: Upgrade guide note for 4.22.3 - camel-kafka breakOnFirstError commit failure The 4.22.x backport #30361 changes where a failed commit before the break goes, so the note of the 4.24 guide is added under Upgrading from 4.22.2 to 4.22.3. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc index f4a554f2d3fa..e4b6f396b279 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc @@ -981,6 +981,17 @@ that header, and says when `operationName` is set, in place of `Cannot find meth no longer sends it as an HTTP header, with either client API. The `SimpleConsumer` binding no longer returns it as a response header. +=== camel-kafka - breakOnFirstError: a failed commit before the break goes to the exception handler + +With `breakOnFirstError=true`, the commit before the break on a failed record can fail or time out (for example a +`TimeoutException` of `commitSync` with the `SyncCommitManager`). The consumer now reports that failure to its +`ExceptionHandler` and still breaks out, polling again from the last committed offset. +Before, the commit failure went to the `pollOnError` strategy. With `ERROR_HANDLER` (the default), `DISCARD` or +`RETRY`, the failed record and the rest of the poll were skipped. +The failure no longer reaches the error handler of the route (such as an `onException` that caught commit timeouts) +unless `bridgeErrorHandler=true`. With `pollOnError=STOP`, the consumer now reconnects in this case instead of +stopping. + == Upgrading from 4.22.1 to 4.22.2 === camel-lra - only an LRA hosted by the configured coordinator is joined
