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

Divij Vaidya updated KAFKA-13810:
---------------------------------
    Fix Version/s: 4.1.0

> Document behavior of KafkaProducer.flush() w.r.t callbacks
> ----------------------------------------------------------
>
>                 Key: KAFKA-13810
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13810
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Karsten Spang
>            Priority: Major
>             Fix For: 4.1.0
>
>
> The javadoc (3.1.0) for KafkaProducer says
> {panel}
> The post-condition of {{flush()}} is that any previously sent record will 
> have completed (e.g. {{{}Future.isDone() == true{}}}). 
> {panel}
> It does not say anything about callbacks, though. It is not clear whether all 
> callbacks have returned when {{flush()}} returns.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to