public class GroupInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
GroupInfo() |
GroupInfo(GroupInfo 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 |
getAccount()
Get Consumer group account
|
Long |
getConsumerGroupLag()
Get The amount of data that has not been consumed by the consumer group.
|
String |
getConsumerGroupName()
Get Consumer group name
|
Long |
getConsumerGroupOffset()
Get Consumer group offset.
|
String |
getConsumerGroupState()
Get Consumer group states, including Dead, Empty, Stable, etc.
|
String |
getCreatedAt()
Get Consumer group creation time, the format is: YYYY-MM-DD hh:mm:ss.
|
String |
getDescription()
Get Consumer group descriptionNote: This field may return null, indicating that no valid values can be obtained.
|
Long |
getLatency()
Get Consumption delay (in seconds)
|
PartitionAssignment[] |
getPartitionAssignment()
Get The partition is being consumed by each consumer.Note: This field may return null, indicating that no valid values can be obtained.
|
MonitorInfo[] |
getStateOfPartition()
Get Consumption status of each partition
|
String |
getUpdatedAt()
Get Consumer group update time, the format is: YYYY-MM-DD hh:mm:ss.
|
void |
setAccount(String Account)
Set Consumer group account
|
void |
setConsumerGroupLag(Long ConsumerGroupLag)
Set The amount of data that has not been consumed by the consumer group.
|
void |
setConsumerGroupName(String ConsumerGroupName)
Set Consumer group name
|
void |
setConsumerGroupOffset(Long ConsumerGroupOffset)
Set Consumer group offset.
|
void |
setConsumerGroupState(String ConsumerGroupState)
Set Consumer group states, including Dead, Empty, Stable, etc.
|
void |
setCreatedAt(String CreatedAt)
Set Consumer group creation time, the format is: YYYY-MM-DD hh:mm:ss.
|
void |
setDescription(String Description)
Set Consumer group descriptionNote: This field may return null, indicating that no valid values can be obtained.
|
void |
setLatency(Long Latency)
Set Consumption delay (in seconds)
|
void |
setPartitionAssignment(PartitionAssignment[] PartitionAssignment)
Set The partition is being consumed by each consumer.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStateOfPartition(MonitorInfo[] StateOfPartition)
Set Consumption status of each partition
|
void |
setUpdatedAt(String UpdatedAt)
Set Consumer group update time, the format is: YYYY-MM-DD hh:mm:ss.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GroupInfo()
public GroupInfo(GroupInfo source)
public String getAccount()
public void setAccount(String Account)
Account
- Consumer group accountpublic String getConsumerGroupName()
public void setConsumerGroupName(String ConsumerGroupName)
ConsumerGroupName
- Consumer group namepublic String getDescription()
public void setDescription(String Description)
Description
- Consumer group descriptionNote: This field may return null, indicating that no valid values can be obtained.public Long getConsumerGroupOffset()
public void setConsumerGroupOffset(Long ConsumerGroupOffset)
ConsumerGroupOffset
- Consumer group offset. This field is for compatibility with the previous single partition scenario, where the value is the offset of the last partition. For the offset of each partition, please refer to the StateOfPartition field.public Long getConsumerGroupLag()
public void setConsumerGroupLag(Long ConsumerGroupLag)
ConsumerGroupLag
- The amount of data that has not been consumed by the consumer group. This field is for compatibility with the previous single partition scenario, where the value is the amount of unconsumed data in the last partition. For the amount of unconsumed data in each partition, refer to the StateOfPartition field.public Long getLatency()
public void setLatency(Long Latency)
Latency
- Consumption delay (in seconds)public MonitorInfo[] getStateOfPartition()
public void setStateOfPartition(MonitorInfo[] StateOfPartition)
StateOfPartition
- Consumption status of each partitionpublic String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt
- Consumer group creation time, the format is: YYYY-MM-DD hh:mm:ss.public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt
- Consumer group update time, the format is: YYYY-MM-DD hh:mm:ss.public String getConsumerGroupState()
public void setConsumerGroupState(String ConsumerGroupState)
ConsumerGroupState
- Consumer group states, including Dead, Empty, Stable, etc. Only Dead and Empty states can perform reset operations.public PartitionAssignment[] getPartitionAssignment()
public void setPartitionAssignment(PartitionAssignment[] PartitionAssignment)
PartitionAssignment
- The partition is being consumed by each consumer.Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.