Google Cloud Managed Kafka V1 Client - Class RebalanceConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class RebalanceConfig.

Defines rebalancing behavior of a Kafka cluster.

Generated from protobuf message google.cloud.managedkafka.v1.RebalanceConfig

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mode int

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

getMode

Optional. The rebalance behavior for the cluster.

When not specified, defaults to NO_REBALANCE.

Returns
Type Description
int

setMode

Optional. The rebalance behavior for the cluster.

When not specified, defaults to NO_REBALANCE.

Parameter
Name Description
var int
Returns
Type Description
$this