Configuring the driver role target clusters
The Streams Replication Manager Driver role's target clusters are the clusters that the driver is writing data to. You can configure these target clusters for each instance of the driver with the Streams Replication Manager Driver Target Cluster property. Custom configuration of these targets is a recommended practice in advanced deployments as it allows you to distribute replication workloads.
The Streams Replication Manager Driver role is responsible for connecting to the specified clusters and performing replication between them. The driver can be installed on one or more hosts within a cluster.
The clusters the driver connects to are the clusters that you specify with the Streams Replication Manager Cluster alias and Streams Replication Manager's Replication Configs properties.
Target clusters of the driver are clusters that the driver writes data to. By default when the driver is started it will connect to all clusters, gather data from them, and write to all of them. In other words, by default a driver targets all clusters in your configuration. However, in a more complex deployment this setup is not ideal. The driver instances can become overburdened. In cases like these, Cloudera recommends that you limit the number of clusters that each driver targets.
This can be done with the Streams Replication Manager Driver Target Cluster property, which allows you to specify which cluster or clusters the driver targets.
When you specify a driver target, the driver still connects to all clusters and gathers data from them. However, it will only write to the clusters specified.
Configuring driver targets and limiting the number of clusters each instance of the driver writes to is essential in an advanced deployment as it allows you to distribute replication workloads.
By default the Streams Replication Manager Driver Target Cluster property is left empty, meaning that all clusters are targeted. The property accepts any cluster alias that is specified in Streams Replication Manager Cluster alias. When adding multiple cluster aliases, delimit them with a comma.
- In Cloudera Manager, select Streams Replication Manager.
- Go to Configuration.
- Find the Streams Replication Manager Driver Target Cluster property.
Add the cluster aliases that you want
the driver role to target. For
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Restart Streams Replication Manager.