# Class RebalanceConfig (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.12

    RebalanceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines rebalancing behavior of a Kafka cluster.

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `mode` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-managedkafka/latest/google.cloud.managedkafka_v1.types.RebalanceConfig.Mode` Optional. The rebalance behavior for the cluster. When not specified, defaults to `NO_REBALANCE`. |

## Classes

### Mode

    Mode(value)

The partition rebalance mode for the cluster.