# Managed Service for Apache Kafka V1 API - Module Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API module Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode.

The partition rebalance mode for the cluster.

## Constants

### MODE_UNSPECIFIED

**value:** 0  
A mode was not specified. Do not use.

### NO_REBALANCE

**value:** 1  
Do not rebalance automatically.

### AUTO_REBALANCE_ON_SCALE_UP

**value:** 2  
Automatically rebalance topic partitions among brokers when the
cluster is scaled up.