ConsumerGroupConsumeRetryPolicy

data class ConsumerGroupConsumeRetryPolicy(val deadLetterTargetTopic: String? = null, val maxRetryTimes: Int? = null, val retryPolicy: String? = null)

Constructors

Link copied to clipboard
constructor(deadLetterTargetTopic: String? = null, maxRetryTimes: Int? = null, retryPolicy: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The dead-letter topic. If the consumer fails to consume a message in an abnormal situation and the message is still unsuccessful after retrying, the message will be delivered to the dead letter Topic for subsequent business recovery or backtracking.

Link copied to clipboard
val maxRetryTimes: Int? = null

Maximum number of retries.

Link copied to clipboard
val retryPolicy: String? = null

Consume retry policy.