[ 
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)

Reply via email to