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

Re-authenticating causes mismatched parse of response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0, 2.5.1
    • Component/s: None
    • Labels:
      None

      Description

      the schema of LIST_OFFSETS consists of

      1. throttle_time_ms:INT32 and
      2. responses:ARRAY

       
      If throttle_time_ms is zero and size of responses is small enough, its binary is compatible to schema of SASL_HANDSHAKE composed of

      1. error_code:INT16 and
      2. mechanisms:ARRAY(STRING)

       
      Hence, there is no Schema error when SASL_HANDSHAKE tries to parse response of LIST_OFFSETS but the check of correction id throws IllegalStateException due to mismatched error. The IllegalStateException is NOT caught and the mismatched response is not sent back to Selector so the cascading error happens that all following responses are parsed by incorrect Schema.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chia7712 Chia-Ping Tsai
                Reporter:
                chia7712 Chia-Ping Tsai
                Reviewer:
                Rajini Sivaram
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: