You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/05/07 07:23:00 UTC

[jira] [Updated] (CAMEL-17925) camel-kafka: "breakOnFirstError" option is not respected

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

Claus Ibsen updated CAMEL-17925:
--------------------------------
    Fix Version/s: 3.18.0
                       (was: 3.17.0)

> camel-kafka: "breakOnFirstError" option is not respected
> --------------------------------------------------------
>
>                 Key: CAMEL-17925
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17925
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 3.12.0, 3.14.2, 3.15.0, 3.16.0
>            Reporter: Espen Andreassen
>            Priority: Major
>             Fix For: 3.18.0
>
>
> *Description:*
> Errors thrown in kafka-consumer routes with "breakOnFirstError" enabled does not trigger reprocessing in 3.12.0 and forward, as if option "breakOnFirstError" is not respected.
> *Reproduction:*
>  * Configure a route consuming from kafka with option "breakOnFirstError" enabled
>  * Trigger an exception in route
> *Expected result:*
>  * Should break out, seek back to offset of the message that caused the failure and then reattempt to process the message (as per the [docs|[https://camel.apache.org/components/3.14.x/kafka-component.html]]: )
> *Actual result:*
>  * Consumer continuous to next message
> *GitHub project reproducing the issue*
> [https://github.com/espeandr/camel-kafka-break-on-error-demo]
> Test-runs
> 3.16.0 (failing): [https://github.com/espeandr/camel-kafka-break-on-error-demo/runs/5886049034?check_suite_focus=true]
> 3.11.6 (succeeding): https://github.com/espeandr/camel-kafka-break-on-error-demo/runs/5886221956?check_suite_focus=true



--
This message was sent by Atlassian Jira
(v8.20.7#820007)