You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2014/10/23 17:22:34 UTC

[jira] [Closed] (KAFKA-1726) Wrong message format description

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

Guozhang Wang closed KAFKA-1726.
--------------------------------
    Assignee: Guozhang Wang

> Wrong message format description
> --------------------------------
>
>                 Key: KAFKA-1726
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1726
>             Project: Kafka
>          Issue Type: Bug
>          Components: website
>            Reporter: Oleg Golovin
>            Assignee: Guozhang Wang
>
> Here [in this page|https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Enriched+Message+Metadata#KafkaEnrichedMessageMetadata-CurrentMessageFormat] you describe current Kafka message format:
> {code}
> MessageAndOffset => MessageSize Offset Message
>   MessageSize => int32
>   Offset => int64
>  
>   Message => Crc MagicByte Attributes KeyLength Key ValueLength Value
>     Crc => int32
>     MagicByte => int8
>     Attributes => int8
>     KeyLength => int32
>     Key => bytes
>     ValueLength => int32
>     Value => bytes
> {code}
> In reality _offset_ goes before _messageSize_.



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