You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jon Lee (JIRA)" <ji...@apache.org> on 2018/05/24 18:14:00 UTC

[jira] [Created] (KAFKA-6946) Keep the fetch session id for incremental fetch when

Jon Lee created KAFKA-6946:
------------------------------

             Summary: Keep the fetch session id for incremental fetch when 
                 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


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)