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 消费者组账号
|
Long |
getConsumerGroupLag()
Get 消费组未消费的数据量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区未消费的数据量。各分区未消费数据量详见StateOfPartition字段
|
String |
getConsumerGroupName()
Get 消费者组名称
|
Long |
getConsumerGroupOffset()
Get 消费组偏移量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区的偏移量。各分区的偏移量详见StateOfPartition字段
|
String |
getConsumerGroupState()
Get 消费者组状态,包括Dead、Empty、Stable等,只有Dead和Empty两种状态可以执行reset操作
|
String |
getCreatedAt()
Get 消费者组创建时间,格式为YYYY-MM-DD hh:mm:ss
|
String |
getDescription()
Get 消费者组备注
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getLatency()
Get 消费延迟(单位为秒)
|
PartitionAssignment[] |
getPartitionAssignment()
Get 每个消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。
|
MonitorInfo[] |
getStateOfPartition()
Get 各分区的消费状态
|
String |
getUpdatedAt()
Get 消费者组修改时间,格式为YYYY-MM-DD hh:mm:ss
|
void |
setAccount(String Account)
Set 消费者组账号
|
void |
setConsumerGroupLag(Long ConsumerGroupLag)
Set 消费组未消费的数据量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区未消费的数据量。各分区未消费数据量详见StateOfPartition字段
|
void |
setConsumerGroupName(String ConsumerGroupName)
Set 消费者组名称
|
void |
setConsumerGroupOffset(Long ConsumerGroupOffset)
Set 消费组偏移量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区的偏移量。各分区的偏移量详见StateOfPartition字段
|
void |
setConsumerGroupState(String ConsumerGroupState)
Set 消费者组状态,包括Dead、Empty、Stable等,只有Dead和Empty两种状态可以执行reset操作
|
void |
setCreatedAt(String CreatedAt)
Set 消费者组创建时间,格式为YYYY-MM-DD hh:mm:ss
|
void |
setDescription(String Description)
Set 消费者组备注
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLatency(Long Latency)
Set 消费延迟(单位为秒)
|
void |
setPartitionAssignment(PartitionAssignment[] PartitionAssignment)
Set 每个消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStateOfPartition(MonitorInfo[] StateOfPartition)
Set 各分区的消费状态
|
void |
setUpdatedAt(String UpdatedAt)
Set 消费者组修改时间,格式为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
- 消费者组账号public String getConsumerGroupName()
public void setConsumerGroupName(String ConsumerGroupName)
ConsumerGroupName
- 消费者组名称public String getDescription()
public void setDescription(String Description)
Description
- 消费者组备注
注意:此字段可能返回 null,表示取不到有效值。public Long getConsumerGroupOffset()
public void setConsumerGroupOffset(Long ConsumerGroupOffset)
ConsumerGroupOffset
- 消费组偏移量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区的偏移量。各分区的偏移量详见StateOfPartition字段public Long getConsumerGroupLag()
public void setConsumerGroupLag(Long ConsumerGroupLag)
ConsumerGroupLag
- 消费组未消费的数据量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区未消费的数据量。各分区未消费数据量详见StateOfPartition字段public Long getLatency()
public void setLatency(Long Latency)
Latency
- 消费延迟(单位为秒)public MonitorInfo[] getStateOfPartition()
public void setStateOfPartition(MonitorInfo[] StateOfPartition)
StateOfPartition
- 各分区的消费状态public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt
- 消费者组创建时间,格式为YYYY-MM-DD hh:mm:sspublic String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt
- 消费者组修改时间,格式为YYYY-MM-DD hh:mm:sspublic String getConsumerGroupState()
public void setConsumerGroupState(String ConsumerGroupState)
ConsumerGroupState
- 消费者组状态,包括Dead、Empty、Stable等,只有Dead和Empty两种状态可以执行reset操作public PartitionAssignment[] getPartitionAssignment()
public void setPartitionAssignment(PartitionAssignment[] PartitionAssignment)
PartitionAssignment
- 每个消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.