Skip to content

ElasticsearchRetryOptions

Source code in docs_src/capo_firehose/types/elasticsearch_retry_options.py
class ElasticsearchRetryOptions(TypedDict, closed=True):
    duration_in_seconds: NotRequired[
        "capo_firehose.types.elasticsearch_retry_duration_in_seconds.ElasticsearchRetryDurationInSeconds"
    ]
    """<p>After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.</p>"""

duration_in_seconds instance-attribute

duration_in_seconds: NotRequired[ElasticsearchRetryDurationInSeconds]

After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.