srm-control
Learn how to use the srm-control
command line tool which is used to
manage replication of topics and consumer groups.
The srm-control
tool enables users to manage replication of topics and
consumer groups. The tool has three subcommands topics
,
groups
, and offsets
. The topics
subcommand is used to control which topics are replicated. The
groups
subcommand is used to control which consumer groups are replicated.
The offsets subcommand is used to export translated offsets for a
source->target
cluster pair.
srm-control
command line tool is located in
/opt/cloudera/parcels/CDH/bin
. An alternative is provided for it by
default, it is called srm-control
. Simply typing srm-control
will invoke the tool, you do not need to reference its full path.If any of the Kafka clusters that SRM connects to use any type of encryption or
authentication, you must configure the srm-control
tool before use. For more
information, see Configuring srm-control.
A full list of the available options for the tool can be found in
srm-control
Options Reference.