Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6946

Keep the session id for incremental fetch when fetch responses are throttled

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      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. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonlee2 Jon Lee
                Reporter:
                jonlee2 Jon Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: