[ https://issues.apache.org/jira/browse/KAFKA-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270385#comment-14270385 ]
Jay Kreps commented on KAFKA-1849: ---------------------------------- Not sure if that is the right place for it. I think Utils.readBytes is a generic ByteBuffer=>byte[] utility. It doesn't deal with the kafka-specific encoding of null=>bytes nor does it handle the serialized array size. > 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)