Managed Streaming for Kafka

2019/10/16 - Managed Streaming for Kafka - 1 new api methods

Changes  AWS MSK has added support for adding brokers to a cluster.

UpdateBrokerCount (new) Link ΒΆ

Updates the number of broker nodes in the cluster.

See also: AWS API Documentation

Request Syntax

client.update_broker_count(
    ClusterArn='string',
    CurrentVersion='string',
    TargetNumberOfBrokerNodes=123
)
type ClusterArn

string

param ClusterArn

[REQUIRED]

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

type CurrentVersion

string

param CurrentVersion

[REQUIRED]

The version of cluster to update from. A successful operation will then generate a new version.

type TargetNumberOfBrokerNodes

integer

param TargetNumberOfBrokerNodes

[REQUIRED]

The number of broker nodes that you want the cluster to have after this operation completes successfully.

rtype

dict

returns

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.