Get started with Apache Kafka® MirrorMaker 2
Create an Apache Kafka® MirrorMaker 2 service and connect it to your Aiven for Apache Kafka® service.
Prerequisites
- Access to the Aiven Console.
- An Aiven project with at least one running Aiven for Apache Kafka® service. To create one, see Create an Aiven for Apache Kafka service.
Create an Apache Kafka® MirrorMaker 2 service
You can create the service from the Kafka service's integrations page.
- In the Aiven Console, open your project.
- Open the Aiven for Apache Kafka® service to replicate.
- Click Integrations.
- Under Aiven services, select Apache Kafka MirrorMaker.
- Choose one of the following:
- Existing service to connect to a MirrorMaker 2 service that is already running
- New service to create a dedicated MirrorMaker 2 service
- If you select New service, click Create service to open the service creation page in a new browser tab.
Create new MirrorMaker 2 service
-
On the Create service page, select a Cloud and region.
-
Select a Plan.
-
In Service basics, enter a service name.
importantYou cannot change the service name after creation.
-
Review the Service summary for the region, plan, and estimated price.
-
Click Create service.
The service status changes to Rebuilding. When it changes to Running, the service is ready.
Connect the Kafka service to MirrorMaker 2
After creating the MirrorMaker 2 service:
-
Return to the browser tab with the integration screen.
-
Select Existing service.
-
Choose the MirrorMaker 2 service you created.
-
Click Continue.
-
Enter a Cluster alias.
The alias identifies the Kafka cluster within MirrorMaker 2. You cannot modify it after the integration is created.
-
Click Enable.
You are redirected to the MirrorMaker 2 service overview page. Use the Replication flows view to define source and target clusters.
Related pages
- Browse the Aiven examples repository for sample code.
- Generate sample events with the Python fake data producer.