public static class UpdateConsumerGroupRequest.UpdateConsumerGroupRequestConsumeRetryPolicy
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
deadLetterTargetTopic
The dead-letter topic.
|
Integer |
maxRetryTimes
The maximum number of retries.
|
String |
retryPolicy
The retry policy.
|
| 构造器和说明 |
|---|
UpdateConsumerGroupRequestConsumeRetryPolicy() |
@NameInMap(value="deadLetterTargetTopic") public String deadLetterTargetTopic
The dead-letter topic.
If a consumer still fails to consume a message after the message is retried for a specified number of times, the message is delivered to a dead-letter topic for subsequent business recovery or troubleshooting. For more information, see [Consumption retry and dead-letter messages](https://help.aliyun.com/document_detail/440356.html).
@NameInMap(value="maxRetryTimes") public Integer maxRetryTimes
The maximum number of retries.
@NameInMap(value="retryPolicy") public String retryPolicy
The retry policy. For more information, see [Message retry](https://help.aliyun.com/document_detail/440356.html).
Valid values:
* FixedRetryPolicy: Failed messages are retried at a fixed interval.
* DefaultRetryPolicy: Failed messages are retried at incremental intervals as the number of retries increases.
This parameter is required.
public UpdateConsumerGroupRequestConsumeRetryPolicy()
public static UpdateConsumerGroupRequest.UpdateConsumerGroupRequestConsumeRetryPolicy build(Map<String,?> map) throws Exception
Exceptionpublic UpdateConsumerGroupRequest.UpdateConsumerGroupRequestConsumeRetryPolicy setDeadLetterTargetTopic(String deadLetterTargetTopic)
public String getDeadLetterTargetTopic()
public UpdateConsumerGroupRequest.UpdateConsumerGroupRequestConsumeRetryPolicy setMaxRetryTimes(Integer maxRetryTimes)
public Integer getMaxRetryTimes()
public UpdateConsumerGroupRequest.UpdateConsumerGroupRequestConsumeRetryPolicy setRetryPolicy(String retryPolicy)
public String getRetryPolicy()
Copyright © 2024. All rights reserved.