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