rpk topic add-partitions

Add partitions to existing topics.

Usage

rpk topic add-partitions [TOPICS...] --num [#] [flags]

Flags

Value Type Description

-f, --force

-

Force change the partition count in internal topics. For example, the internal topic __consumer_offsets.

-h, --help

-

Help for add-partitions.

-n, --num

int

Number of partitions to add to each topic.

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail.

--profile

string

rpk profile to use.

-v, --verbose

-

Enable verbose logging.