Add and Configure SRM
Learn how to add SRM to your cluster.
Streams Replication Manager is comprised of two roles:
- Streams Replication Manager Driver role: This role is responsible for connecting to the specified clusters and performing replication between them. The driver can be installed on one or more hosts.
- Streams Replication Manager Service role: This role consist of a REST API and a Kafka Streams application to aggregate and expose cluster, topic and consumer group metrics. The service can be installed on one host only.
The following steps walk you through the process of adding SRM to your cluster. The configuration examples on this page are simple examples that are meant to demonstrate the type of information that you have to enter. For comprehensive deployment and configuration examples, see Deployment recommendations and Configuration examples.
streamsrepmgr
is added to the Kafka Super users
property.
- Replicating data to or from the specified clusters is now possible.
- The SRM service REST API Swagger UI is available at one of the following addresses:
-
http://<srm-service-host>:<srm-service-port/swagger
-
https://<srm-service-host>:<srm-service-port/swagger
-
- Enable Kerberos and TLS/SSL for SRM.
- Use the
srm-control
tool to kick off replication by adding topics or groups to the allowlist.