You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar Reddy (JIRA)" <ji...@apache.org> on 2015/06/18 11:21:01 UTC
[jira] [Commented] (KAFKA-2200) kafkaProducer.send() should not
call callback.onCompletion()
[ 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)