Configure srm-control for secured environments using Cloudera Manager

Prior to using the srm-control tool, you must configure the properties required for your security setup. You can complete this task with Cloudera Manager

To use the srm-control tool in secured environments, you need to ensure that all relevant security properties are configured. Complete the following steps to configure security properties using Cloudera Manager.

  1. In Cloudera Manager, select Streams Replication Manager.
  2. Go to Configuration.
  3. Find the Streams Replication Manager Cluster alias property.
  4. Add security related properties.
    The following example lists all possible security properties with values. Add and configure the properties required for your security setup. You may need to add the required properties prefixed with cluster aliases for each cluster that is taking part in replication.
    security.protocol = SASL_SSL
    ssl.truststore.location = /path/to/truststore.jks
    ssl.truststore.password = test1234
    ssl.keystore.location = /path/to/keystore.jks
    ssl.keystore.password = test1234
    ssl.key.password = test1234 = kafka
    sasl.mechanism = GSSAPI
    sasl.jaas.config = required useKeyTab=true keyTab="/path/to/keytab file" storeKey=true useTicketCache=false principal="streamsrepmgr@STREAMANALYTICS.COM";
  5. Click Save Changes.
  6. Restart Streams Replication Manager.
The srm-control tool is configured.
Use the srm-control tool to manage topic and consumer group replication.