Generate Redpanda Migrator YAML configuration files for migrating data between Kafka-compatible clusters. Use when users request migration configurations for Kafka, Redpanda, Confluent Cloud, AWS MSK, or other Kafka-compatible systems. Handles data migration, schema migration, consumer offset translation, ACL migration, and topic filtering scenarios.
Generate Redpanda Migrator YAML configurations for migrating data, schemas, consumer groups, and ACLs between Kafka-compatible clusters.
When a user requests a Redpanda Migrator configuration:
references/config-spec.md for complete field specificationsAlways ask these questions to build the configuration:
Critical Question:
Important: This determines whether credentials should be:
Required Information:
host:port)Authentication (ask if not provided):
Ask the user:
Ask the user:
^[^_] (excludes internal topics starting with _)Ask the user:
Optional questions (ask if relevant):
migrator_bundle)After gathering requirements:
Read the complete config specification:
file_read: references/config-spec.md
Generate the YAML using the template structure from config-spec.md
Include these essential sections:
input.redpanda_migrator_bundle.redpanda_migrator - source cluster configinput.redpanda_migrator_bundle.schema_registry - source schema registry (if schema migration enabled)output.redpanda_migrator_bundle.redpanda_migrator - destination cluster configoutput.redpanda_migrator_bundle.schema_registry - destination schema registry (if schema migration enabled)metrics.prometheus - monitoring configurationApply user requirements:
Add comments explaining critical settings like:
Reference these patterns for typical requests:
Kafka to Redpanda Cloud:
AWS MSK to Redpanda Cloud:
topic_replication_factor overrideenable_renegotiation: true for TLS if neededConfluent Cloud to Redpanda Cloud:
enable_renegotiation: true for Confluent Cloud TLSinterval: 10s)Redpanda Dedicated to Redpanda Serverless:
serverless: true in outputconsumer_groups.exclude to filter internal consumer groupsRedpanda to Redpanda (Data-Only):
metadata_max_age: 30s for faster regex topic discoveryconsumer_groups.interval for offset sync frequencyenabled: falseRedpanda to Redpanda (with Schemas):
enabled: true (no interval)interval: 10s or desired frequencyversions: latest for faster migration or versions: all for full historyinclude or exclude patternsData-only migration:
${SECRET_NAME} instead of plain text valuesinput_redpanda_migrator_lag metric tracks migration progressWhen Redpanda Connect deployment type is Redpanda Cloud or Redpanda Serverless, use environment variable secrets for all sensitive credentials.
Redpanda Cloud/Serverless:
${REDPANDA_BROKERS} - Seed brokers${REDPANDA_USER} - Username${REDPANDA_USER_PWD} - PasswordConfluent Cloud:
${CC_BROKERS} - Bootstrap brokers${CC_USER} - API key (username)${CC_USER_PWD} - API secret (password)AWS MSK / Custom Kafka:
${KAFKA_BROKERS} - Bootstrap brokers${KAFKA_USER} - Username${KAFKA_USER_PWD} - Password