Kafka
  1. Kafka
  2. KAFKA-299

Change broker request and response to use Seqs rather than Array

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: core

      Description

      The new Produce and Fetch request and response classes use primitive Arrays, but becaue they are case classes and Java's array hashCode/equals functionality is broken, the case class equality contract is broken as well. We should change the models to use Seqs to resolve the issue along with gaining all the functional benefits that goes along with it. This change will require appropriate Java versions to convert between Array's and Seqs for Java clients.

        Issue Links

          Activity

          Prashanth Menon created issue -
          Prashanth Menon made changes -
          Field Original Value New Value
          Link This issue is related to KAFKA-240 [ KAFKA-240 ]
          Neha Narkhede made changes -
          Link This issue is part of KAFKA-240 [ KAFKA-240 ]
          Neha Narkhede made changes -
          Assignee Prashanth Menon [ prashanth.menon ]
          Jay Kreps made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Prashanth Menon
              Reporter:
              Prashanth Menon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development