rpk topic alter-config
Set, delete, add, and remove key/value configs for a topic.
This command allows you to incrementally alter the configuration for multiple topics at a time.
Incremental altering supports four operations:
-
Setting a key=value pair
-
Deleting a key’s value
-
Appending a new value to a list-of-values key
-
Subtracting (removing) an existing value from a list-of-values key
The --dry
option will validate whether the requested configuration change is
valid, but does not apply it.
Flags
Value | Type | Description |
---|---|---|
|
stringArray |
key=value; Value to append to a list-of-values key (repeatable). |
|
stringArray |
Key to delete (repeatable). |
|
- |
Dry run: validate the alter request, but do not apply. |
|
- |
Help for alter-config. |
|
stringArray |
key=value; Pair to set (repeatable). |
|
stringArray |
key=value; Value to remove from list-of-values key (repeatable). |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |