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

Improve MessageAndMetadata to expose the partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 0.8.0
    • 0.8.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: