You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andrew Schofield (Jira)" <ji...@apache.org> on 2025/10/24 07:58:00 UTC
[jira] [Resolved] (KAFKA-19827) Call acknowledgement commit callback at end of waiting calls
[ https://issues.apache.org/jira/browse/KAFKA-19827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Schofield resolved KAFKA-19827.
--------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)