Learn how to use the
srm-control command line tool which is used to
manage replication of topics and consumer groups.
srm-control tool enables users to manage replication of topics and
consumer groups. The tool has three subcommands
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.
A full list of the available options for the tool can be found in
srm-control Options Reference.
srm-controlcommand 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-controlwill invoke the tool, you do not need to reference its full path.