Skip to content

KafkaExporterConfiguration

Source code in docs_src/capo_amp/types/kafka_exporter_configuration.py
class KafkaExporterConfiguration(TypedDict, closed=True):
    cluster_arn: "capo_amp.types.msk_cluster_arn.MskClusterArn"
    """<p>The Amazon Resource Name (ARN) of the Amazon MSK cluster.</p>"""
    topic_filter: NotRequired[
        "capo_amp.types.kafka_exporter_filter.KafkaExporterFilter"
    ]
    """<p>An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with <code>^</code> and end with <code>$</code>. If omitted, the default is <code>^.*$</code>, which selects all topics.</p>"""
    consumer_group_filter: NotRequired[
        "capo_amp.types.kafka_exporter_filter.KafkaExporterFilter"
    ]
    """<p>An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with <code>^</code> and end with <code>$</code>. If omitted, the default is <code>^.*$</code>, which selects all consumer groups.</p>"""

cluster_arn instance-attribute

cluster_arn: MskClusterArn

The Amazon Resource Name (ARN) of the Amazon MSK cluster.

consumer_group_filter instance-attribute

consumer_group_filter: NotRequired[KafkaExporterFilter]

An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all consumer groups.

topic_filter instance-attribute

topic_filter: NotRequired[KafkaExporterFilter]

An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all topics.