Google Cloud Managed Kafka V1 Client - Class Mode (0.2.0)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class Mode.

The partition rebalance mode for the cluster.

Protobuf type google.cloud.managedkafka.v1.RebalanceConfig.Mode

Namespace

Google \ Cloud \ ManagedKafka \ V1 \ RebalanceConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MODE_UNSPECIFIED

Value: 0

A mode was not specified. Do not use.

Generated from protobuf enum MODE_UNSPECIFIED = 0;

NO_REBALANCE

Value: 1

Do not rebalance automatically.

Generated from protobuf enum NO_REBALANCE = 1;

AUTO_REBALANCE_ON_SCALE_UP

Value: 2

Automatically rebalance topic partitions among brokers when the cluster is scaled up.

Generated from protobuf enum AUTO_REBALANCE_ON_SCALE_UP = 2;