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 2016/01/14 16:29:39 UTC

[jira] [Commented] (KAFKA-2695) Handle null string/bytes protocol primitives

    [ https://issues.apache.org/jira/browse/KAFKA-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098250#comment-15098250 ] 

Jun Rao commented on KAFKA-2695:
--------------------------------

[~hachikuji], when using a compacted topic, we use a null value in the message to indicate a delete. Are you saying the new consumer won't be able to parse that?

> Handle null string/bytes protocol primitives
> --------------------------------------------
>
>                 Key: KAFKA-2695
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2695
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>
> The kafka protocol supports null bytes and string primitives by passing -1 as the size, but the current deserializers implemented in o.a.k.common.protocol.types.Type do not handle them.



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