You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (Updated) (JIRA)" <ji...@apache.org> on 2012/04/06 19:31:25 UTC

[jira] [Updated] (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 ]

Neha Narkhede updated KAFKA-299:
--------------------------------

    Assignee: Prashanth Menon

Assigning to you Prashanth, since you mentioned you want to resolve this
                
> 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
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira