You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Lianet Magrans (Jira)" <ji...@apache.org> on 2023/10/04 14:18:00 UTC
[jira] [Updated] (KAFKA-15327) Client consumer should commit offsets on close
[ https://issues.apache.org/jira/browse/KAFKA-15327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lianet Magrans updated KAFKA-15327:
-----------------------------------
Summary: Client consumer should commit offsets on close (was: Async consumer should commit offsets on close)
> Client consumer should commit offsets on close
> ----------------------------------------------
>
> Key: KAFKA-15327
> URL: https://issues.apache.org/jira/browse/KAFKA-15327
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, consumer
> Reporter: Lianet Magrans
> Priority: Major
> Labels: kip-848-client-support
>
> In the current implementation of the KafkaConsumer, the ConsumerCoordinator commits offsets before the consumer is closed, with a call to
> maybeAutoCommitOffsetsSync(timer);
> The async consumer should provide the same behaviour to commit offsets on close.
> This fix should allow to successfully run the following integration tests (defined in PlaintextConsumerTest)
> * testAutoCommitOnClose
> * testAutoCommitOnCloseAfterWakeup
--
This message was sent by Atlassian Jira
(v8.20.10#820010)