Enum RebalanceConfig.Mode (0.1.0)

public enum RebalanceConfig.Mode extends Enum<RebalanceConfig.Mode> implements ProtocolMessageEnum

The partition rebalance mode for the cluster.

Protobuf enum google.cloud.managedkafka.v1.RebalanceConfig.Mode

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTO_REBALANCE_ON_SCALE_UP

Automatically rebalance topic partitions among brokers when the cluster is scaled up.

AUTO_REBALANCE_ON_SCALE_UP = 2;

AUTO_REBALANCE_ON_SCALE_UP_VALUE

Automatically rebalance topic partitions among brokers when the cluster is scaled up.

AUTO_REBALANCE_ON_SCALE_UP = 2;

MODE_UNSPECIFIED

A mode was not specified. Do not use.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

A mode was not specified. Do not use.

MODE_UNSPECIFIED = 0;

NO_REBALANCE

Do not rebalance automatically.

NO_REBALANCE = 1;

NO_REBALANCE_VALUE

Do not rebalance automatically.

NO_REBALANCE = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()