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

Change broker request and response to use Seqs rather than Array

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: