public class GroupInfoResponse extends AbstractModel
Constructor and Description |
---|
GroupInfoResponse() |
GroupInfoResponse(GroupInfoResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Get Error code.
|
String |
getGroup()
Get Kafka consumer group
|
GroupInfoMember[] |
getMembers()
Get This array contains information only if `state` is `Stable` and `protocol_type` is `consumer`
|
String |
getProtocol()
Get Consumer partition assignment algorithm, such as `range` (which is the default value for the Kafka consumer SDK), `roundrobin`, and `sticky`
|
String |
getProtocolType()
Get The type of protocol selected by the consumer group, which is `consumer` for common consumers.
|
String |
getState()
Get Group status description (common valid values: Empty, Stable, Dead):
Dead: the consumer group does not exist
Empty: there are currently no consumer subscriptions in the consumer group
PreparingRebalance: the consumer group is currently in `rebalance` state
CompletingRebalance: the consumer group is currently in `rebalance` state
Stable: each consumer in the consumer group has joined and is in stable state
|
void |
setErrorCode(String ErrorCode)
Set Error code.
|
void |
setGroup(String Group)
Set Kafka consumer group
|
void |
setMembers(GroupInfoMember[] Members)
Set This array contains information only if `state` is `Stable` and `protocol_type` is `consumer`
|
void |
setProtocol(String Protocol)
Set Consumer partition assignment algorithm, such as `range` (which is the default value for the Kafka consumer SDK), `roundrobin`, and `sticky`
|
void |
setProtocolType(String ProtocolType)
Set The type of protocol selected by the consumer group, which is `consumer` for common consumers.
|
void |
setState(String State)
Set Group status description (common valid values: Empty, Stable, Dead):
Dead: the consumer group does not exist
Empty: there are currently no consumer subscriptions in the consumer group
PreparingRebalance: the consumer group is currently in `rebalance` state
CompletingRebalance: the consumer group is currently in `rebalance` state
Stable: each consumer in the consumer group has joined and is in stable state
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public GroupInfoResponse()
public GroupInfoResponse(GroupInfoResponse source)
public String getErrorCode()
public void setErrorCode(String ErrorCode)
ErrorCode
- Error code. 0: successpublic String getState()
public void setState(String State)
State
- Group status description (common valid values: Empty, Stable, Dead):
Dead: the consumer group does not exist
Empty: there are currently no consumer subscriptions in the consumer group
PreparingRebalance: the consumer group is currently in `rebalance` state
CompletingRebalance: the consumer group is currently in `rebalance` state
Stable: each consumer in the consumer group has joined and is in stable statepublic String getProtocolType()
public void setProtocolType(String ProtocolType)
ProtocolType
- The type of protocol selected by the consumer group, which is `consumer` for common consumers. However, some systems use their own protocols; for example, the protocol used by kafka-connect is `connect`. Only with the standard `consumer` protocol can this API get to know the specific assigning method and parse the specific partition assignmentpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Consumer partition assignment algorithm, such as `range` (which is the default value for the Kafka consumer SDK), `roundrobin`, and `sticky`public GroupInfoMember[] getMembers()
public void setMembers(GroupInfoMember[] Members)
Members
- This array contains information only if `state` is `Stable` and `protocol_type` is `consumer`public String getGroup()
public void setGroup(String Group)
Group
- Kafka consumer groupCopyright © 2023. All rights reserved.