kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-3190) KafkaProducer should not invoke callback in send()
Date Sat, 23 Sep 2017 04:49:04 GMT

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

Guozhang Wang updated KAFKA-3190:
---------------------------------

*Reminder to the contributor / reviewer of the PR*: please note that the code deadline for
1.0.0 is less than 2 weeks away (Oct. 4th). Please re-evaluate your JIRA and see if it still
makes sense to be merged into 1.0.0 or it could be pushed out to 1.1.0, or be closed directly
if the JIRA itself is not valid any more, or re-assign yourself as contributor / committer
if you are no longer working on the JIRA.

> 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: 1.0.0
>
>
> 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.4.14#64029)

Mime
View raw message