Kafka.Client.
update_broker_count
(**kwargs)¶Updates the number of broker nodes in the cluster.
See also: AWS API Documentation
Request Syntax
response = client.update_broker_count(
ClusterArn='string',
CurrentVersion='string',
TargetNumberOfBrokerNodes=123
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
[REQUIRED]
The version of cluster to update from. A successful operation will then generate a new version.
[REQUIRED]
The number of broker nodes that you want the cluster to have after this operation completes successfully.
dict
Response Syntax
{
'ClusterArn': 'string',
'ClusterOperationArn': 'string'
}
Response Structure
(dict) --
Successful response.
ClusterArn (string) --
The Amazon Resource Name (ARN) of the cluster.
ClusterOperationArn (string) --
The Amazon Resource Name (ARN) of the cluster operation.
Exceptions
Kafka.Client.exceptions.ServiceUnavailableException
Kafka.Client.exceptions.BadRequestException
Kafka.Client.exceptions.UnauthorizedException
Kafka.Client.exceptions.InternalServerErrorException
Kafka.Client.exceptions.ForbiddenException