This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f54cdd7a85fb CAMEL-26967: Upgrade guide note for 4.22.3 - camel-kafka 
breakOnFirstError commit failure (#30370)
f54cdd7a85fb is described below

commit f54cdd7a85fb9a9b53d61e9974820c793f3fa509
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 19 09:07:01 2026 +0100

    CAMEL-26967: Upgrade guide note for 4.22.3 - camel-kafka breakOnFirstError 
commit failure (#30370)
    
    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

Reply via email to