Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
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
Attachments
Issue Links
- blocks
-
KAFKA-15865 Ensure consumer.poll() execute autocommit callback
-
- Patch Available
-
- is part of
-
KAFKA-14246 Update threading model for Consumer
-
- In Progress
-
- links to