internal/impl/redpanda/migrator/TESTING.md
This document contains a list of integration tests for the Redpanda Migrator component.
The migrator has been benchmarked to handle high-throughput scenarios, demonstrating stable 1GB/s+ throughput in production-like conditions. See the bench/ directory for configuration details and test setup.
Example benchmark output showing 1GB/s+ throughput:
[output.processors.0] time="2025-10-10T11:56:50Z" level=info msg="rolling stats: 1035873 msg/sec, 1.0 GB/sec"
[output.processors.0] time="2025-10-10T11:57:10Z" level=info msg="rolling stats: 1035211.5 msg/sec, 1.0 GB/sec"
[output.processors.0] time="2025-10-10T11:57:12Z" level=info msg="rolling stats: 1037427.5 msg/sec, 1.0 GB/sec"
integration_test.go)TestIntegrationMigratorSinglePartitionVerifies basic single-partition migration functionality.
TestIntegrationMigratorSinglePartitionMalformedSchemaIDTests graceful handling of messages with malformed schema ID headers.
TestIntegrationMigratorMultiPartitionSchemaAwareWithConsumerGroupsTests multi-partition migration with Schema Registry and consumer group synchronization.
TestIntegrationMigratorInputKafkaFranzConsumerGroupVerifies consumer group migration when separate consumers read from the cluster.
kafka_franz input component to consume from source clusterTestIntegrationRealMigratorConfluentToServerlessEnd-to-end test for Confluent Platform to Redpanda Serverless migration.
integration_soak_test.go)TestIntegrationMigratorSoakLong-running stability test with configurable timing parameters.
migrator_groups_integration_test.go)TestIntegrationListGroupOffsetsTests consumer group offset listing with various filtering options.
TestIntegrationReadRecordTimestampVerifies correct extraction of record timestamps during migration.
TestIntegrationGroupsOffsetSyncTests consumer group offset synchronization between clusters.
migrator_schema_registry_integration_test.go)TestIntegrationSchemaRegistryMigratorListSubjectSchemasTests listing schemas from Schema Registry with various filters.
TestIntegrationSchemaRegistryMigratorSyncNameResolverVerifies schema subject name resolution and transformation.
TestIntegrationSchemaRegistryMigratorSyncVersionsAllTests synchronization of all schema versions for each subject.
TestIntegrationSchemaRegistryMigratorSyncTranslateIDsVerifies schema ID translation between source and destination registries.
TestIntegrationSchemaRegistryMigratorSyncNormalizeTests schema normalization during migration.
TestIntegrationSchemaRegistryMigratorSyncIdempotenceVerifies schema synchronization is idempotent.
TestIntegrationSchemaRegistryMigratorCompatibilityFromSourceTests migration of compatibility mode settings.
migrator_topic_integration_test.go)TestIntegrationTopicMigratorSyncConfigVerifies topic configuration synchronization.
TestIntegrationTopicMigratorSyncACLsTests ACL (Access Control List) migration for topics.
ALLOW DESCRIBE - migrated as-isALLOW ALL - downgraded to ALLOW READ for safetyALLOW WRITE - skipped (not migrated)TestIntegrationTopicMigratorIdempotentSyncIdempotenceConfirms topic synchronization is idempotent.