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

Jiangjie Qin commented on KAFKA-2138:
-------------------------------------

Created reviewboard https://reviews.apache.org/r/33417/diff/
 against branch origin/trunk

> 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
>
>
> 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)

Reply via email to