Skip to content

TopicReplication

Source code in docs_src/capo_kafka/types/topic_replication.py
class TopicReplication(TypedDict, closed=True):
    copy_access_control_lists_for_topics: NotRequired[
        "capo_kafka.types.__boolean.__boolean"
    ]
    """<p>Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.</p>"""
    copy_topic_configurations: NotRequired["capo_kafka.types.__boolean.__boolean"]
    """<p>Whether to periodically configure remote topics to match their corresponding upstream topics.</p>"""
    detect_and_copy_new_topics: NotRequired["capo_kafka.types.__boolean.__boolean"]
    """<p>Whether to periodically check for new topics and partitions.</p>"""
    starting_position: NotRequired[
        "capo_kafka.types.replication_starting_position.ReplicationStartingPosition"
    ]
    """<p>Configuration for specifying the position in the topics to start replicating from.</p>"""
    topic_name_configuration: NotRequired[
        "capo_kafka.types.replication_topic_name_configuration.ReplicationTopicNameConfiguration"
    ]
    """<p>Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.</p>"""
    topics_to_exclude: NotRequired[
        "capo_kafka.types.__list_of__string_max249.__listOf__stringMax249"
    ]
    """<p>List of regular expression patterns indicating the topics that should not be replicated.</p>"""
    topics_to_replicate: NotRequired[
        "capo_kafka.types.__list_of__string_max249.__listOf__stringMax249"
    ]
    """<p>List of regular expression patterns indicating the topics to copy.</p>"""

copy_access_control_lists_for_topics instance-attribute

copy_access_control_lists_for_topics: NotRequired[__boolean]

Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.

copy_topic_configurations instance-attribute

copy_topic_configurations: NotRequired[__boolean]

Whether to periodically configure remote topics to match their corresponding upstream topics.

detect_and_copy_new_topics instance-attribute

detect_and_copy_new_topics: NotRequired[__boolean]

Whether to periodically check for new topics and partitions.

starting_position instance-attribute

starting_position: NotRequired[ReplicationStartingPosition]

Configuration for specifying the position in the topics to start replicating from.

topic_name_configuration instance-attribute

topic_name_configuration: NotRequired[ReplicationTopicNameConfiguration]

Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.

topics_to_exclude instance-attribute

topics_to_exclude: NotRequired[__listOf__stringMax249]

List of regular expression patterns indicating the topics that should not be replicated.

topics_to_replicate instance-attribute

topics_to_replicate: NotRequired[__listOf__stringMax249]

List of regular expression patterns indicating the topics to copy.