public class UpdateGroupOffsetRequest extends cn.com.antcloud.api.product.AntCloudProdRequest<UpdateGroupOffsetResponse>
| 构造器和说明 |
|---|
UpdateGroupOffsetRequest() |
UpdateGroupOffsetRequest(String productInstanceId) |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getBegging()
true表示最开始,false表示最新
|
String |
getCell()
cell
|
String |
getGroupId()
group id
|
String |
getInstanceId()
instance id
|
Long |
getOffset()
type=1表示将offset重置的位置
type=2表示向前或向后移动的位置,负数表示向前,正数表示向后
|
String |
getPartitions()
partition列表 用,隔开
|
Long |
getTime()
按时间重置的时间戳
|
String |
getTopic()
topic
|
Long |
getType()
1.将offset设置到指定位置。
|
void |
setBegging(Boolean begging)
true表示最开始,false表示最新
|
void |
setCell(String cell)
cell
|
void |
setGroupId(String groupId)
group id
|
void |
setInstanceId(String instanceId)
instance id
|
void |
setOffset(Long offset)
type=1表示将offset重置的位置
type=2表示向前或向后移动的位置,负数表示向前,正数表示向后
|
void |
setPartitions(String partitions)
partition列表 用,隔开
|
void |
setTime(Long time)
按时间重置的时间戳
|
void |
setTopic(String topic)
topic
|
void |
setType(Long type)
1.将offset设置到指定位置。
|
getProductInstanceId, getRegionName, setProductInstanceId, setRegionNamepublic UpdateGroupOffsetRequest(String productInstanceId)
public UpdateGroupOffsetRequest()
public String getInstanceId()
public void setInstanceId(String instanceId)
public String getCell()
public void setCell(String cell)
public String getGroupId()
public void setGroupId(String groupId)
public String getTopic()
public void setTopic(String topic)
public String getPartitions()
public void setPartitions(String partitions)
public Long getType()
public void setType(Long type)
public Long getOffset()
public void setOffset(Long offset)
public Boolean getBegging()
public void setBegging(Boolean begging)
public Long getTime()
public void setTime(Long time)
Copyright © 2025. All Rights Reserved.