Class: Google::Cloud::ManagedKafka::V1::RebalanceConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/managedkafka/v1/resources.rb

Overview

Defines rebalancing behavior of a Kafka cluster.

Defined Under Namespace

Modules: Mode

Instance Attribute Summary collapse

Instance Attribute Details

#mode::Google::Cloud::ManagedKafka::V1::RebalanceConfig::Mode

Returns Optional. The rebalance behavior for the cluster. When not specified, defaults to NO_REBALANCE.

Returns:



105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 105

class RebalanceConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The partition rebalance mode for the cluster.
  module Mode
    # A mode was not specified. Do not use.
    MODE_UNSPECIFIED = 0

    # Do not rebalance automatically.
    NO_REBALANCE = 1

    # Automatically rebalance topic partitions among brokers when the
    # cluster is scaled up.
    AUTO_REBALANCE_ON_SCALE_UP = 2
  end
end