Skip to content

DirectKafkaSource

Source code in docs_src/capo_glue/types/direct_kafka_source.py
class DirectKafkaSource(TypedDict, closed=True):
    name: "capo_glue.types.node_name.NodeName"
    """<p>The name of the data store.</p>"""
    streaming_options: NotRequired[
        "capo_glue.types.kafka_streaming_source_options.KafkaStreamingSourceOptions"
    ]
    """<p>Specifies the streaming options.</p>"""
    window_size: NotRequired["capo_glue.types.boxed_positive_int.BoxedPositiveInt"]
    """<p>The amount of time to spend processing each micro batch.</p>"""
    detect_schema: NotRequired["capo_glue.types.boxed_boolean.BoxedBoolean"]
    """<p>Whether to automatically determine the schema from the incoming data.</p>"""
    data_preview_options: NotRequired[
        "capo_glue.types.streaming_data_preview_options.StreamingDataPreviewOptions"
    ]
    """<p>Specifies options related to data preview for viewing a sample of your data.</p>"""

data_preview_options instance-attribute

data_preview_options: NotRequired[StreamingDataPreviewOptions]

Specifies options related to data preview for viewing a sample of your data.

detect_schema instance-attribute

detect_schema: NotRequired[BoxedBoolean]

Whether to automatically determine the schema from the incoming data.

name instance-attribute

name: NodeName

The name of the data store.

streaming_options instance-attribute

streaming_options: NotRequired[KafkaStreamingSourceOptions]

Specifies the streaming options.

window_size instance-attribute

window_size: NotRequired[BoxedPositiveInt]

The amount of time to spend processing each micro batch.