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.
Set up an Apache Kafka® MirrorMaker 2 replication flow using Aiven console#
To define a replication flow between a source Apache Kafka cluster and a target cluster:
Navigate to the Aiven Console and select the Aiven for Apache Kafka MirrorMaker 2 service where the replication flow needs to be defined.
If no Aiven for Apache Kafka MirrorMaker 2 are already defined, you can create one in the Aiven console.
In the Overview tab scroll to the Service Integrations section and click on Manage integrations.
If the integration to the source Apache Kafka cluster doesn’t yet exist, select the Kafka MirrorMaker 2 and click on Use Integration.
Select the Apache Kafka cluster you want to use as source for the replication flow.
Provide the Apache Kafka cluster integration an alias name (e.g.
Repeat the steps 3. 4. and 5. for the target Apache Kafka cluster if the integration doesn’t yet exist.
Navigate to the Replication Flows tab and click Create replication flow
Define the replication source and target cluster, the list of topics to be included or excluded and the sync settings, then click on Create
In the target Apache Kafka cluster, check the replicated topics having topic name