[
https://issues.apache.org/jira/browse/KAFKA-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiangjie Qin updated KAFKA-2138:
--------------------------------
Attachment: KAFKA-2138_2015-04-22_17:19:33.patch
> KafkaProducer does not honor the retry backoff time.
> ----------------------------------------------------
>
> Key: KAFKA-2138
> URL: https://issues.apache.org/jira/browse/KAFKA-2138
> Project: Kafka
> Issue Type: Bug
> Reporter: Jiangjie Qin
> Assignee: Jiangjie Qin
> Priority: Critical
> Attachments: KAFKA-2138.patch, KAFKA-2138_2015-04-22_17:19:33.patch
>
>
> In KafkaProducer, we only check the batch.lastAttemptMs in ready. But we are
> not checking it in drain() as well.
> The problem is that if we have two partitions both on the same node, suppose
> Partition 1 should backoff while partition 2 should not. Currently partition
> 1's backoff time will be ignored.
> We should check the lastAttemptMs in drain() as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)