Migrate Kafka Using the IdentityReplicationPolicy
How to migrate Kafka with Streams Replication Manager using the IdentityReplicationPolicy.
- Ensure that you have reviewed Migrate Kafka Using Streams Replication Manager and understand the limitations and use cases for this policy.
- Setup and configure Streams Replication Manager in the Cloudera Private Cloud Base cluster. For more information, see Add and Configure Streams Replication Manager. Setup instructions might differ in different versions. Ensure that you view the version of the documentation that matches your Runtime version.
- Ensure that Streams Replication Manager is set up to use the
IdentityReplicationPolicy. This is done differently
depending on the Cloudera Runtime version.
- 7.1.8: In Cloudera Manager, add the
following entry to the Streams Replication Manager's
Replication Configs
property.
replication.policy.class=org.apache.kafka.connect.mirror.IdentityReplicationPolicy
- 7.1.9 or higher: In Cloudera Manager, select the Enable Prefixless Replication property. This property configures Streams Replication Manager to use the IdentityReplicationPolicy.
- 7.1.8: In Cloudera Manager, add the
following entry to the Streams Replication Manager's
Replication Configs
property.
- If you are on Cloudera Runtime 7.1.8, monitoring features provided by the Streams Replication Manager Service are not supported when this policy is in use. This means that you cannot use the Streams Messaging Manager UI or Streams Replication Manager Service REST API to validate that data is being migrated.