public class ResetConsumerGroupOffsetRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ResetConsumerGroupOffsetRequest() |
ResetConsumerGroupOffsetRequest(ResetConsumerGroupOffsetRequest 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 |
getConsumerGroupName()
Get Consumer group name.
|
Long[] |
getPartitionNos()
Get The partition number of offset needs to be modified.
|
String |
getResetDatetime()
Get When ResetMode is datetime, this field needs to be filled in, the format is: Y-m-d h:m:s.
|
String |
getResetMode()
Get Reset mode.
|
String |
getSubscribeId()
Get Subscription instance ID
|
String |
getTopicName()
Get Subscribed Kafka topic
|
void |
setConsumerGroupName(String ConsumerGroupName)
Set Consumer group name.
|
void |
setPartitionNos(Long[] PartitionNos)
Set The partition number of offset needs to be modified.
|
void |
setResetDatetime(String ResetDatetime)
Set When ResetMode is datetime, this field needs to be filled in, the format is: Y-m-d h:m:s.
|
void |
setResetMode(String ResetMode)
Set Reset mode.
|
void |
setSubscribeId(String SubscribeId)
Set Subscription instance ID
|
void |
setTopicName(String TopicName)
Set Subscribed Kafka topic
|
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 ResetConsumerGroupOffsetRequest()
public ResetConsumerGroupOffsetRequest(ResetConsumerGroupOffsetRequest source)
public String getSubscribeId()
public void setSubscribeId(String SubscribeId)
SubscribeId - Subscription instance IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName - Subscribed Kafka topicpublic String getConsumerGroupName()
public void setConsumerGroupName(String ConsumerGroupName)
ConsumerGroupName - Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}.public Long[] getPartitionNos()
public void setPartitionNos(Long[] PartitionNos)
PartitionNos - The partition number of offset needs to be modified.public String getResetMode()
public void setResetMode(String ResetMode)
ResetMode - Reset mode. Valid values: earliest (start consumption from the earliest position); latest (start consumption from the latest position); datetime (start consumption from the most recent checkpoint before the specified time).public String getResetDatetime()
public void setResetDatetime(String ResetDatetime)
ResetDatetime - When ResetMode is datetime, this field needs to be filled in, the format is: Y-m-d h:m:s. If not filled in, the default time is 0, and the effect is the same as earliest.Copyright © 2025. All rights reserved.