Claus Ibsen created CAMEL-12454:
-----------------------------------

             Summary: 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.21.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 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)

Reply via email to