kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2695) Handle null string/bytes protocol primitives
Date Thu, 14 Jan 2016 15:29:39 GMT

    [ 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

This message was sent by Atlassian JIRA

View raw message