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

New MirrorMaker option partition.to.partition

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Currently when MirrorMaker moves data between topics with records with null keys - it shuffles records between destination topic's partitions. Sometimes it's desirable to try preserving the original partition.

      Related PR adds new command line option to do that:

      When partition.to.partition=true MirrorMaker retains the partition number when mirroring records even without the keys. 
      When using this option - source and destination topics are assumed to have the same number of partitions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ernisv Ernestas Vaiciukevičius
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: