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

Joel Koshy updated KAFKA-2138:
------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Discussed offline with [~becket_qin] - KAFKA-2142 has been filed to do further 
improvements including fixing a pre-existing bug where we may prematurely send 
(before batch-full or linger time thresholds).

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

Reply via email to