Configuring replication specific Kafka Connect REST servers

The Streams Replication Manager Driver role uses a single REST server to handle inter-worker communication for all replications. This REST server enables communication between the different instances of the Streams Replication Manager driver and ensures that replication does not fail when there are multiple driver instances present in a single cluster.

If required, you can configure the REST server that is set up by the driver.

REST server properties can be configured through the Streams Replication Manager's Replication Configs property by using the following prefix:

listeners
Configures the host address and port of the REST server. The value must be in protocol://host:port format. For example:
listeners=http://localhost:4445
listeners.https.
This prefix can be used to configure SSL related properties. You can use this prefix to override the SSL settings that the REST server inherits from the service configuration. For example, if the REST server needs to use a different keystore location than the one provided in the service configuration, you can use the following property:
listeners.https.ssl.keystore.location=***CUSTOM KEYSTORE LOCATION***
  1. In Cloudera Manager, select the Streams Replication Manager service.
  2. Go to Configuration.
  3. Find the Streams Replication Manager's Replication Configs property.
  4. Click the add button and add new lines for each additional property you want to configure.
  5. Add configuration properties. For example:
    listeners.https.ssl.keystore.location=***CUSTOM KEYSTORE LOCATION***
  6. Enter a Reason for change, and then click Save Changes to commit the changes.
  7. Restart Streams Replication Manager.
Custom configuration of the Kafka Connect REST server is complete.