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 \ V1Methods
__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 |
getMode
Optional. The rebalance behavior for the cluster.
When not specified, defaults to NO_REBALANCE.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Mode. |
setMode
Optional. The rebalance behavior for the cluster.
When not specified, defaults to NO_REBALANCE.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Mode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|