[ 
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:     (was: 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
>
> 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)

Reply via email to