PipeSourceKinesisStreamParameters
¶
Source code in docs_src/capo_pipes/types/pipe_source_kinesis_stream_parameters.py
batch_size
instance-attribute
¶
batch_size: NotRequired[LimitMax10000]
The maximum number of records to include in each batch.
dead_letter_config
instance-attribute
¶
dead_letter_config: NotRequired[DeadLetterConfig]
Define the target queue to send dead-letter queue events to.
maximum_batching_window_in_seconds
instance-attribute
¶
maximum_batching_window_in_seconds: NotRequired[MaximumBatchingWindowInSeconds]
The maximum length of a time to wait for events.
maximum_record_age_in_seconds
instance-attribute
¶
maximum_record_age_in_seconds: NotRequired[MaximumRecordAgeInSeconds]
Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
maximum_retry_attempts
instance-attribute
¶
maximum_retry_attempts: NotRequired[MaximumRetryAttemptsESM]
Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
on_partial_batch_item_failure
instance-attribute
¶
on_partial_batch_item_failure: NotRequired[OnPartialBatchItemFailureStreams]
Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.
parallelization_factor
instance-attribute
¶
parallelization_factor: NotRequired[LimitMax10]
The number of batches to process concurrently from each shard. The default value is 1.
starting_position
instance-attribute
¶
starting_position: KinesisStreamStartPosition
The position in a stream from which to start reading.