You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/06/11 17:53:00 UTC

[jira] [Resolved] (KAFKA-6946) Keep the session id for incremental fetch when fetch responses are throttled

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

Dong Lin resolved KAFKA-6946.
-----------------------------
    Resolution: Fixed

> Keep the session id for incremental fetch when fetch responses are throttled 
> -----------------------------------------------------------------------------
>
>                 Key: KAFKA-6946
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6946
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.0.0
>            Reporter: Jon Lee
>            Priority: Major
>
> The current patch for KAFKA-6028 (KIP-219) sends a FetchResponse with INVALID_SESSION_ID if the response needs to be throttled due to quota violation. If it is for incremental fetch, this will make the client reset its session and send a full fetch request next time. This is not a correctness issue, but it may affect performance when fetches are throttled.
> In case of incremental fetch, a throttled response should use the same session id as before so that the next unthrottled response can be in the same session. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)