Configuring the advertised information of the Streams Replication Manager Service role

If your Streams Replication Manager deployment is located behind a proxy, you must configure the information advertised by a cluster of Streams Replication Manager Service roles (Streams Replication Manager Service cluster). Otherwise, the Streams Replication Manager Service cluster cannot be discovered by other Streams Replication Manager Service clusters and Remote Querying will not be possible.

Each Streams Replication Manager Service cluster advertises itself automatically through its target Kafka cluster. Advertised information includes properties like the protocol, host, port, and root API path of the Streams Replication Manager Service cluster. This information is used by Streams Replication Manager Service clusters that have Remote Querying enabled to connect to and communicate with remote Streams Replication Manager Service clusters and fetch the metrics collected by them.

However, if a Streams Replication Manager Service cluster is located behind a proxy, the information advertised by default cannot be used to connect to them. In such a case, the advertised protocol, host, port, and root API path must be configured to match the properties of the proxy. If this configuration is not completed, the Streams Replication Manager Service clusters cannot be discovered.

  1. In Cloudera Manager, select the Streams Replication Manager service.
  2. Go to Configuration.
  3. Find and configure the following properties:
    • SRM Service Advertised Protocol For Remote Queries
    • SRM Service Advertised Host For Remote Queries
    • SRM Service Advertised Port For Remote Queries
    • SRM Service Advertised API Root Path For Remote Queries
  4. Click Save Changes.
  5. Restart the Streams Replication Manager service.
The Streams Replication Manager Service cluster advertises the configured protocol, host, port and API root path.