DeadLetterConfiguration
¶
Source code in docs_src/capo_kinesis/types/dead_letter_configuration.py
max_receive_count
instance-attribute
¶
max_receive_count: NotRequired[MaxReceiveCount]
The number of times a record can be received without being acknowledged before it becomes a dead-letter record. Required when TargetType is BUILT_IN. A queue that you create without DeadLetterConfiguration gets a MaxReceiveCount of 6.
target_type
instance-attribute
¶
target_type: TargetType
Whether dead-letter handling is enabled for the queue. BUILT_IN enables it: when a record has been received MaxReceiveCount times without being acknowledged, it becomes a dead-letter record and ReceiveQueueRecords no longer returns it. NONE disables it, and an unacknowledged record continues to be redelivered until it is acknowledged or its retention period ends.