Skip to content

module clone

tpalino edited this page Apr 28, 2016 · 5 revisions

Module: Clone

The clone module does just that: clones partitions. Given a list of brokers and a target broker, it adds the target broker as a new replica for every partition on the source brokers. This increases the replication factor of these partitions in the process (the old replica is not removed). This module was created to facilitate load testing of new broker hardware by adding it into an existing cluster and scaling up the number of partitions it is handling.

Options

The following are the options for this module:

Option Required Argument Default Description
--brokers yes list of integers The list of source brokers - space-separated list of broker IDs
--to_broker yes integer The target broker ID

Notes

This isn't a common module to use. It was really only added for testing purposes.

Clone this wiki locally