You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2012/11/18 23:16:58 UTC

[jira] [Resolved] (KAFKA-625) Improve MessageAndMetadata to expose the partition

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

Neha Narkhede resolved KAFKA-625.
---------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.8

Fixed as part of KAFKA-544
                
> Improve MessageAndMetadata to expose the partition 
> ---------------------------------------------------
>
>                 Key: KAFKA-625
>                 URL: https://issues.apache.org/jira/browse/KAFKA-625
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Priority: Critical
>             Fix For: 0.8
>
>
> Currently, the high level consumer returns an object of type MessageAndMetadata. This contains the message and the topic to which it belongs. It is useful to know the partition since partition is the granularity that is relevant wrt to everything related to replication and messages live in partitions. This is also useful for applications that use key based partitioning since they would like to associate the message to the partition that it came from.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira