You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Michael Tamm (JIRA)" <ji...@apache.org> on 2012/08/28 14:07:07 UTC

[jira] [Updated] (KAFKA-393) Add constructor for message which takes both byte array offset and length

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

Michael Tamm updated KAFKA-393:
-------------------------------

    Attachment: 0001-Added-constructors-to-Message-which-accept-offset-an.patch

Attached patch which fixes this issue
                
> Add constructor for message which takes both byte array offset and length
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-393
>                 URL: https://issues.apache.org/jira/browse/KAFKA-393
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.7
>            Reporter: graham sanderson
>         Attachments: 0001-Added-constructors-to-Message-which-accept-offset-an.patch
>
>
> This would avoid an extra copying step for clients that (for whatever reason) have multiple messages in a byte[] to push into kafka.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira