public class GroupOffsetPartition extends AbstractModel
| Constructor and Description | 
|---|
| GroupOffsetPartition() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getErrorCode()Get Error code | 
| Long | getLag()Get Number of unconsumed messages | 
| Long | getLogEndOffset()Get Latest offset of current partition | 
| String | getMetadata()Get Metadata can be passed in for other purposes when the consumer submits messages. | 
| Long | getOffset()Get Offset position submitted by consumer | 
| Long | getPartition()Get Topic `partitionId` | 
| void | setErrorCode(Long ErrorCode)Set Error code | 
| void | setLag(Long Lag)Set Number of unconsumed messages | 
| void | setLogEndOffset(Long LogEndOffset)Set Latest offset of current partition | 
| void | setMetadata(String Metadata)Set Metadata can be passed in for other purposes when the consumer submits messages. | 
| void | setOffset(Long Offset)Set Offset position submitted by consumer | 
| 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Long getPartition()
public void setPartition(Long Partition)
Partition - Topic `partitionId`public Long getOffset()
public void setOffset(Long Offset)
Offset - Offset position submitted by consumerpublic String getMetadata()
public void setMetadata(String Metadata)
Metadata - Metadata can be passed in for other purposes when the consumer submits messages. Currently, this parameter is usually an empty string
Note: this field may return null, indicating that no valid values can be obtained.public Long getErrorCode()
public void setErrorCode(Long ErrorCode)
ErrorCode - Error codepublic Long getLogEndOffset()
public void setLogEndOffset(Long LogEndOffset)
LogEndOffset - Latest offset of current partitionpublic Long getLag()
public void setLag(Long Lag)
Lag - Number of unconsumed messagesCopyright © 2020. All rights reserved.