kafka alter-partition-assignments
Alter partition assignments
Description
define brokers in which replicas of each partition reside, partitions will be reassigned
Synopsis
kafka alter-partition-assignments
[--site <site>]
[--cluster <cluster>]
--topic <topic>
[<partition_assignment>]
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
cluster
- (string)
Name of kafka cluster
Example: --cluster "cluster-1"
Default: default
Attributes: optional
topic
- (string)
Name of kafka topic
Example: --topic "topic-1"
Default: _None_
Attributes: required
partition_assignment
- (string)
Partition assignment
Example: "partition_assignment-1"
Default: _None_
Attributes: optional
Examples
Input:
Output:Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "kafka" |
Service Instance | cluster |
Namespace | |
Object Type | "topic" |
Object ID | topic |
Please see Access Control for details.