You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Andrew Schofield (Jira)" <ji...@apache.org> on 2025/10/22 14:54:00 UTC
[jira] [Created] (KAFKA-19827) Call acknowledgement commit callback at end of waiting calls
Andrew Schofield created KAFKA-19827:
----------------------------------------
Summary: Call acknowledgement commit callback at end of waiting calls
Key: KAFKA-19827
URL: https://issues.apache.org/jira/browse/KAFKA-19827
Project: Kafka
Issue Type: Sub-task
Components: clients
Affects Versions: 4.1.0
Reporter: Andrew Schofield
Assignee: Andrew Schofield
Fix For: 4.2.0
The acknowledgement commit callback in the share consumer gets called on the application thread at the start of the poll, commitSync and commitAsync methods. Specifically in the peculiar case of using the callback together with commitSync, the acknowledgement callback for the committed records is called at the start of the next eligible call, even though the information is already known at the end of the commitSync's execution. The results are correct already, but the timing could be improved in some situations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)