public class GroupOffsetPartition extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| GroupOffsetPartition() | 
| GroupOffsetPartition(GroupOffsetPartition 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 | 
|---|---|
| Long | getErrorCode()Get 错误码 | 
| Long | getLag()Get 未消费的消息个数 | 
| Long | getLogEndOffset()Get 当前 partition 最新的 offset | 
| String | getMetadata()Get 支持消费者提交消息时,传入 metadata 作为它用,当前一般为空字符串 | 
| Long | getOffset()Get consumer 提交的 offset 位置 | 
| Long | getPartition()Get topic 的 partitionId | 
| void | setErrorCode(Long ErrorCode)Set 错误码 | 
| void | setLag(Long Lag)Set 未消费的消息个数 | 
| void | setLogEndOffset(Long LogEndOffset)Set 当前 partition 最新的 offset | 
| void | setMetadata(String Metadata)Set 支持消费者提交消息时,传入 metadata 作为它用,当前一般为空字符串 | 
| void | setOffset(Long Offset)Set consumer 提交的 offset 位置 | 
| void | setPartition(Long Partition)Set topic 的 partitionId | 
| 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, toJsonStringpublic GroupOffsetPartition()
public GroupOffsetPartition(GroupOffsetPartition source)
public Long getPartition()
public void setPartition(Long Partition)
Partition - topic 的 partitionIdpublic Long getOffset()
public void setOffset(Long Offset)
Offset - consumer 提交的 offset 位置public String getMetadata()
public void setMetadata(String Metadata)
Metadata - 支持消费者提交消息时,传入 metadata 作为它用,当前一般为空字符串public Long getErrorCode()
public void setErrorCode(Long ErrorCode)
ErrorCode - 错误码public Long getLogEndOffset()
public void setLogEndOffset(Long LogEndOffset)
LogEndOffset - 当前 partition 最新的 offsetpublic Long getLag()
public void setLag(Long Lag)
Lag - 未消费的消息个数Copyright © 2025. All rights reserved.