You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2022/06/08 04:14:00 UTC

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

Chris Egerton created KAFKA-13967:
-------------------------------------

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


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)