-
Notifications
You must be signed in to change notification settings - Fork 144
module trim
tpalino edited this page Apr 28, 2016
·
4 revisions
The trim module removes one or more brokers from the cluster by removing them as a replica from the partitions they currently have. This reduces the replication factor of the partitions. This is different than the remove module, which also removes a broker from the cluster but keeps the RF the same by adding a different broker in its place. The trim module was designed to complement the clone module for testing purposes, allowing the clone target to be removed easily.
The following are the options for this module:
Option | Required | Argument | Default | Description |
---|---|---|---|---|
--brokers | yes | list of integers | The list of brokers to trim - space-separated list of broker IDs |
This module will fail if the operation would result in any partition having its only replica removed.
This isn't a common module to use. It was really only added for testing purposes.