kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-3190) KafkaProducer should not invoke callback in send()
Date Wed, 27 Jul 2016 23:46:20 GMT

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

Ewen Cheslack-Postava updated KAFKA-3190:
-----------------------------------------
    Fix Version/s:     (was: 0,10.0.2)
                   0.10.0.2

> KafkaProducer should not invoke callback in send()
> --------------------------------------------------
>
>                 Key: KAFKA-3190
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3190
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, producer 
>    Affects Versions: 0.9.0.0
>            Reporter: Jiangjie Qin
>            Assignee: Jiangjie Qin
>            Priority: Critical
>             Fix For: 0.10.0.2
>
>
> Currently KafkaProducer will invoke callback.onComplete() if it receives an ApiException
during send(). This breaks the guarantee that callback will be invoked in order. It seems
ApiException in send() only comes from metadata refresh. If so, we can probably simply throw
it instead of invoking callback().



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

Mime
View raw message