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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: