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 2018/04/18 07:27:00 UTC

[jira] [Resolved] (CAMEL-12454) camel-kafka - AutoCommitEnabled=false should not auto commit

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

Claus Ibsen resolved CAMEL-12454.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.20.4

> camel-kafka - AutoCommitEnabled=false should not auto commit
> ------------------------------------------------------------
>
>                 Key: CAMEL-12454
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12454
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 2.20.3, 2.21.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 2.20.4, 2.21.1, 2.22.0
>
>
> Reported on gitter
> John Culleton @jcullet Apr 17 17:22
> Hi All - I'm running into an issue with the camel-kafka component when attempting to disable auto commit behavior. On camel 2.21, I'm finding that the offset is being committed even when "autoCommitEnable=false" is specified. When running through a debugger, I see that the offset commit is happening here: https://github.com/apache/camel/blob/0f98938e3b6ea15a2e022c707bf21a2af4ed7e0d/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java#L382. Based on the conditional, I think it would always evaluate to true when autoCommitEnable is set to false?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)