You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/01/09 04:08:35 UTC

[jira] [Resolved] (KAFKA-1849) Utils.readBytes() should support null ByteBuffer

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

Jun Rao resolved KAFKA-1849.
----------------------------
    Resolution: Not a Problem

Ok, we actually handle null explicitly in MessageAndMetadata. So, this is not an issue.

> Utils.readBytes() should support null ByteBuffer
> ------------------------------------------------
>
>                 Key: KAFKA-1849
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1849
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.3
>            Reporter: Jun Rao
>              Labels: newbie
>             Fix For: 0.8.3
>
>
> We use Utils.readBytes to get the bytes from message.payload. However, message.payload can be null. 



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