Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-625

Improve MessageAndMetadata to expose the partition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nehanarkhede Neha Narkhede
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: