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

Manikumar Reddy commented on KAFKA-2200:
----------------------------------------

In KafkaProducer.send() method, on ApiException we are calling 
callback.onCompletion(). Here ApiExceptions can be
metadata TimeoutException, RecordTooLargeException. Any ideas on where to move 
callback.onCompletion() call.?

> kafkaProducer.send() should not call callback.onCompletion()
> ------------------------------------------------------------
>
>                 Key: KAFKA-2200
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2200
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jiangjie Qin
>              Labels: newbie
>
> KafkaProducer.send() should not call callback.onCompletion() because this 
> might break the callback firing order.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to