A step by step guide on how to start replicating data between Kafka clusters with SRM.
In Cloudera Manager, verify that the SRM driver role is started and is in good health.
Verify that SRM is configured correctly. Make sure that connection information for
each Kafka cluster is added as well as at least one
replication is specified and enabled.
- Update the topics whitelist to start data replication.
srm-control topics --source [SOURCE_CLUSTER] --target [TARGET_CLUSTER] --add [TOPIC1],[TOPIC2]
- Verify that the topics have been added to the whitelist.
srm-control topics --source [SOURCE_CLUSTER] --target [TARGET_CLUSTER] --list
The topics you specify with the
--add option are added to the topic
whitelist and are replicated to the specified target cluster.