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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Managed Service for Apache Kafka V1 API - Module Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [1.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.3.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [1.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.2.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [1.1.2](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.1.2/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [1.0.1](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.0.1/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [0.5.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.5.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [0.4.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.4.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [0.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.3.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [0.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.2.0/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode)\n- [0.1.3](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.1.3/Google-Cloud-ManagedKafka-V1-RebalanceConfig-Mode) \nReference documentation and code samples for the Managed Service for Apache Kafka V1 API module Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode.\n\nThe partition rebalance mode for the cluster.\n\nConstants\n---------\n\n### MODE_UNSPECIFIED\n\n**value:** 0 \nA mode was not specified. Do not use.\n\n### NO_REBALANCE\n\n**value:** 1 \nDo not rebalance automatically.\n\n### AUTO_REBALANCE_ON_SCALE_UP\n\n**value:** 2 \nAutomatically rebalance topic partitions among brokers when the\ncluster is scaled up."]]