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

ProducerResponse with record-level errors throw NPE with older client version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0, 2.4.1
    • Component/s: clients
    • Labels:
      None

      Description

      ProduceResponse.toStruct(version) throws NullPointerException if the response contains record errors and version < 8 (before record errors were aded to ProduceResponse). The response can't be serialized to send to older clients as a result.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsivaram Rajini Sivaram
                Reporter:
                rsivaram Rajini Sivaram
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: