Skip to content

AutoScaling

Source code in docs_src/capo_kafkaconnect/types/auto_scaling.py
class AutoScaling(TypedDict, closed=True):
    max_worker_count: "capo_kafkaconnect.types.__integer.__integer"
    """<p>The maximum number of workers allocated to the connector.</p>"""
    mcu_count: "capo_kafkaconnect.types.__integer_min1_max8.__integerMin1Max8"
    """<p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>"""
    min_worker_count: "capo_kafkaconnect.types.__integer.__integer"
    """<p>The minimum number of workers allocated to the connector.</p>"""
    scale_in_policy: NotRequired[
        "capo_kafkaconnect.types.scale_in_policy.ScaleInPolicy"
    ]
    """<p>The scale-in policy for the connector.</p>"""
    scale_out_policy: NotRequired[
        "capo_kafkaconnect.types.scale_out_policy.ScaleOutPolicy"
    ]
    """<p>The scale-out policy for the connector.</p>"""
    max_autoscaling_task_count: "capo_kafkaconnect.types.__integer.__integer"
    """<p>The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.</p>"""

max_autoscaling_task_count instance-attribute

max_autoscaling_task_count: __integer

The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.

max_worker_count instance-attribute

max_worker_count: __integer

The maximum number of workers allocated to the connector.

mcu_count instance-attribute

mcu_count: __integerMin1Max8

The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.

min_worker_count instance-attribute

min_worker_count: __integer

The minimum number of workers allocated to the connector.

scale_in_policy instance-attribute

scale_in_policy: NotRequired[ScaleInPolicy]

The scale-in policy for the connector.

scale_out_policy instance-attribute

scale_out_policy: NotRequired[ScaleOutPolicy]

The scale-out policy for the connector.