Documentation Index
Fetch the complete documentation index at: https://docs.automq.com/llms.txt
Use this file to discover all available pages before exploring further.
Migration
AutoMQ is a next-generation Kafka release redesigned based on cloud-native concepts, and it is compatible with Apache Kafka®. This article will detail how to migrate from Apache Kafka® or other Kafka distributions to AutoMQ.Migration Tool
The AutoMQ Open Source recommends using the MirrorMaker2 tool for cluster migration, supporting transitions from Apache Kafka or other Kafka distributions to AutoMQ. MirrorMaker2 migration tool has the following capabilities:- Supports batch migration of clusters: MirrorMaker2 facilitates batch migration of Topics and Groups from the source cluster to the target cluster, enabling phased rollout and validation.
- Supports synchronization of consumption progress: MirrorMaker2 ensures real-time synchronization of consumption progress from the source cluster, allowing consumers to continue consuming from the target cluster after migration.
- Supports dynamic updates of Topics and Groups: MirrorMaker2 enables real-time monitoring of dynamic updates of Topics and Groups, ensuring that no updates are missed during the migration process.

Core Concepts
MirrorMaker2 defines several Connectors to implement data synchronization tasks between two Apache Kafka® clusters, including necessary configurations and real-time running states.- MirrorSourceConnector: Used for synchronizing message data from the source cluster.
- MirrorCheckpointConnector: Used to synchronize the consumption progress data of the source cluster ConsumerGroup.
- MirrorHeartbeatConnector: Used for system detection of the synchronization link’s operational status.
Deploying MirrorMaker2
For the installation and deployment of MirrorMaker2, refer to the relevant links from the Apache Kafka community:Constraints and Limitations
MirrorMaker2 uses Connectors to synchronize messages between the source and target clusters. This mechanism cannot guarantee complete data consistency between the source and target clusters. Therefore, when using the migration tool, please note the following constraints and limitations:Next Steps
After understanding the background of cluster migration, it is recommended to choose the corresponding solution based on the current cluster situation:- Migrating from Apache Kafka to AutoMQ: Follow the migration plan and execute the migration step by step in batches. Migrating from Apache Kafka to AutoMQ▸