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

Re-authenticating causes mismatched parse of response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.6.0, 2.5.1
    • None
    • 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

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Rajini Sivaram Rajini Sivaram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: