Set up an Apache Kafka® MirrorMaker 2 replication flow
Apache Kafka® MirrorMaker 2 replication flows enable the topics sync from a source Apache Kafka® cluster to a target Apache Kafka cluster deployed anywhere in the world. Replication flows can be defined against Aiven for Apache Kafka services or external Apache Kafka clusters.
To define a replication flow between a source Apache Kafka cluster and a target cluster:
- 
Log in to the Aiven Console and select the Aiven for Apache Kafka MirrorMaker 2 service where you want to define the replication flow.
noteIf no Aiven for Apache Kafka MirrorMaker 2 are already defined, you can create one in the Aiven console.
 - 
In the service Overview screen, scroll to the Service integrations section and select Manage integrations.
 - 
If there is no integration for the source/target Apache Kafka cluster, set up the necessary integrations:
- On the Integrations screen, choose the desired integration from the list for the source Apache Kafka cluster.
 - Select an existing Apache Kafka service to use as the source/target for the replication flow.
 - Provide a cluster alias name (for example,, source-Kafka) to the integration of the Apache Kafka cluster.
 - Repeat the above steps to set up the integration for the target Apache Kafka cluster and provide a cluster alias name.
 
 - 
Once that the source and target Apache Kafka clusters are configure, select Replication flows from the left sidebar.
 - 
Select Create replication flow.
 - 
On the Create new replication flow screen, define the replication source and target cluster, the list of topics to be included or excluded and the sync settings.
 - 
Select Create.
 - 
In the target Apache Kafka cluster, verify the replicated topics with the topic name
source-cluster-alias.source-topic-name.