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

Karen Lease reassigned CAMEL-17925:
-----------------------------------

    Assignee: Karen Lease

> 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
>            Assignee: Karen Lease
>            Priority: Minor
>             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)

Reply via email to