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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0, 2.4.1
    • clients
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: