Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::RebalanceConfig.
Defines rebalancing behavior of a Kafka cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mode
def mode() -> ::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode
Returns
-
(::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode) — Optional. The rebalance behavior for the cluster.
When not specified, defaults to
NO_REBALANCE
.
#mode=
def mode=(value) -> ::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode
Parameter
-
value (::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode) — Optional. The rebalance behavior for the cluster.
When not specified, defaults to
NO_REBALANCE
.
Returns
-
(::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode) — Optional. The rebalance behavior for the cluster.
When not specified, defaults to
NO_REBALANCE
.