You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ernestas Vaiciukevičius (JIRA)" <ji...@apache.org> on 2019/04/12 07:29:00 UTC

[jira] [Created] (KAFKA-8226) New MirrorMaker option partition.to.partition

Ernestas Vaiciukevičius created KAFKA-8226:
----------------------------------------------

             Summary: New MirrorMaker option partition.to.partition
                 Key: KAFKA-8226
                 URL: https://issues.apache.org/jira/browse/KAFKA-8226
             Project: Kafka
          Issue Type: Improvement
          Components: core
            Reporter: Ernestas Vaiciukevičius


Currently when MirrorMaker moves data between topics with records with null keys - it shuffles records between destination topic's partitions. Sometimes it's desirable trying to preserve 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)