You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by davidjoyce180 <da...@yahoo.com> on 2016/10/20 22:32:05 UTC

Kafka Camel Consumer Ignores enable.auto.commit

See this snippet from the Camel KafkaConsumer

if (endpoint.isAutoCommitEnable() != null && !endpoint.isAutoCommitEnable())
{
    if (processed >= endpoint.getBatchSize()) {
        consumer.commitSync();
        processed = 0;
    }
}

By my reading if enable.auto.commit is set to false, then it should not
perform this synch.

Yet this code does perform a commit

Is this a bug in the code? I am using version 2.17.1




--
View this message in context: http://camel.465427.n5.nabble.com/Kafka-Camel-Consumer-Ignores-enable-auto-commit-tp5789054.html
Sent from the Camel - Users mailing list archive at Nabble.com.