Skip to main content

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

Create an Apache Kafka® MirrorMaker 2 service

You can create the service from the Kafka service's integrations page.

  1. In the Aiven Console, open your project.
  2. Open the Aiven for Apache Kafka® service to replicate.
  3. Click Integrations.
  4. Under Aiven services, select Apache Kafka MirrorMaker.
  5. 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
  6. If you select New service, click Create service to open the service creation page in a new browser tab.

Create new MirrorMaker 2 service

  1. On the Create service page, select a Cloud and region.

  2. Select a Plan.

  3. In Service basics, enter a service name.

    important

    You cannot change the service name after creation.

  4. Review the Service summary for the region, plan, and estimated price.

  5. 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:

  1. Return to the browser tab with the integration screen.

  2. Select Existing service.

  3. Choose the MirrorMaker 2 service you created.

  4. Click Continue.

  5. Enter a Cluster alias.

    The alias identifies the Kafka cluster within MirrorMaker 2. You cannot modify it after the integration is created.

  6. 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