Skip to content

ElasticsearchBufferingHints

Source code in docs_src/capo_firehose/types/elasticsearch_buffering_hints.py
class ElasticsearchBufferingHints(TypedDict, closed=True):
    interval_in_seconds: NotRequired[
        "capo_firehose.types.elasticsearch_buffering_interval_in_seconds.ElasticsearchBufferingIntervalInSeconds"
    ]
    """<p>Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).</p>"""
    size_in_m_bs: NotRequired[
        "capo_firehose.types.elasticsearch_buffering_size_in_m_bs.ElasticsearchBufferingSizeInMBs"
    ]
    """<p>Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.</p> <p>We recommend setting this parameter to a value greater than the amount of data you typically ingest into the Firehose stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.</p>"""

interval_in_seconds instance-attribute

interval_in_seconds: NotRequired[ElasticsearchBufferingIntervalInSeconds]

Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).

size_in_m_bs instance-attribute

size_in_m_bs: NotRequired[ElasticsearchBufferingSizeInMBs]

Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.

We recommend setting this parameter to a value greater than the amount of data you typically ingest into the Firehose stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.