You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2022/06/13 11:05:00 UTC

[jira] [Updated] (KAFKA-13967) Guarantees for producer callbacks on transaction commit should be documented

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

Mickael Maison updated KAFKA-13967:
-----------------------------------
    Fix Version/s: 3.3

> Guarantees for producer callbacks on transaction commit should be documented
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-13967
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13967
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Chris Egerton
>            Assignee: Chris Egerton
>            Priority: Major
>             Fix For: 3.3
>
>
> As discussed in https://github.com/apache/kafka/pull/11780#discussion_r891835221, part of the contract for a transactional producer is that all callbacks given to the producer will have been invoked and completed (either successfully or by throwing an exception) by the time that {{KafkaProducer::commitTransaction}} returns. This should be documented so that users of the clients library can have a guarantee that they're not on the hook to do that kind of bookkeeping themselves.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)