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 \ RebalanceConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MODE_UNSPECIFIED
Value: 0A mode was not specified. Do not use.
Generated from protobuf enum MODE_UNSPECIFIED = 0;
NO_REBALANCE
Value: 1Do not rebalance automatically.
Generated from protobuf enum NO_REBALANCE = 1;
AUTO_REBALANCE_ON_SCALE_UP
Value: 2Automatically rebalance topic partitions among brokers when the cluster is scaled up.
Generated from protobuf enum AUTO_REBALANCE_ON_SCALE_UP = 2;