Karsten Spang created KAFKA-13810:
-------------------------------------

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


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