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-5782) Avoid unnecessary PID reset when expire batches.
Date Sat, 23 Sep 2017 04:28:19 GMT

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

Guozhang Wang updated KAFKA-5782:
    Fix Version/s:     (was: 1.0.0)

> Avoid unnecessary PID reset when expire batches.
> ------------------------------------------------
>                 Key: KAFKA-5782
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5782
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>    Affects Versions:
>            Reporter: Jiangjie Qin
>             Fix For: 1.1.0
> This is more of an efficiency optimization. Currently we will reset PID when batch expiration
happens and one of the expired batches is in retry mode. This is assuming that we don't know
if the batch in retry has been appended to the broker or not. However, if the batch was in
retry due to a retriable exception returned by the broker, the batch is not appended. In this
case, we do not need to reset the PID.

This message was sent by Atlassian JIRA

View raw message