[
https://issues.apache.org/jira/browse/CAMEL-17802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17512362#comment-17512362
]
Rafał Gała commented on CAMEL-17802:
------------------------------------
I did some tests today. I set up consumer with:
{noformat}
enable.auto.commit=true
auto.commit.interval.ms=120000{noformat}
and ran the code which polled for 1 record, then called close() on consumer and
left JVM with System.exit(0). The offset was commited after callingclose(). I
check both kafka-clients 0.11.0.1 (pretty old) and latest 3.1.0 versions and
both commit on closing.
> Check whether we need to manually commit offset upon stop when auto commit is
> enabled
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-17802
> URL: https://issues.apache.org/jira/browse/CAMEL-17802
> Project: Camel
> Issue Type: Improvement
> Components: camel-kafka
> Reporter: Rafał Gała
> Priority: Minor
>
> As requested by [~orpiske] in CAMEL-17798.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)