[ 
https://issues.apache.org/jira/browse/KAFKA-15327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lianet Magrans updated KAFKA-15327:
-----------------------------------
    Description: 
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

  was:
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


> Async consumer should commit offsets on close
> ---------------------------------------------
>
>                 Key: KAFKA-15327
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15327
>             Project: Kafka
>          Issue Type: Bug
>          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