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

Omar Al-Safi resolved CAMEL-16327.
----------------------------------
    Resolution: Duplicate

> Kafka Consumer Component always commits latest offset on shutdown even if 
> autoCommitOnStop == none
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-16327
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16327
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 3.6.0, 3.7.0, 3.7.1, 3.7.2, 3.8.0
>            Reporter: Damiano Fontana
>            Priority: Major
>             Fix For: 3.9.0
>
>
> Kafka Consumer Component configured with 
>  * autoCommitEnable == false
>  * allowManualCommit == true
>  * autoCommitOnStop == none
> always commits the last seen offset for every partition when route is shut 
> down.
> What's happens is the following:
>  # consumer.unsubscribe() is called
>  # onPartitionsRevoked() is called
>  # commitOffset() with forceCommit == true is called



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to