[ 
https://issues.apache.org/jira/browse/KAFKA-13810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520278#comment-17520278
 ] 

Luke Chen commented on KAFKA-13810:
-----------------------------------

[~kspang_impala_76b0] , are you interested in submitting a PR to improve it?

> 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
>
> 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.1#820001)

Reply via email to