You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2015/02/08 00:51:34 UTC

[jira] [Resolved] (KAFKA-299) Change broker request and response to use Seqs rather than Array

     [ https://issues.apache.org/jira/browse/KAFKA-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Kreps resolved KAFKA-299.
-----------------------------
    Resolution: Fixed

> Change broker request and response to use Seqs rather than Array
> ----------------------------------------------------------------
>
>                 Key: KAFKA-299
>                 URL: https://issues.apache.org/jira/browse/KAFKA-299
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.0
>            Reporter: Prashanth Menon
>            Assignee: Prashanth Menon
>              Labels: 0.8, replication, wireprotocol
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)