Neha Narkhede created KAFKA-625: ----------------------------------- Summary: 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
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