Class FlowControl (2.2.0)

FlowControl(
    max_bytes=104857600,
    max_messages=1000,
    max_lease_duration=3600,
    max_duration_per_lease_extension=0,
)

The settings for controlling the rate at which messages are pulled with an asynchronous subscription.

Methods

FlowControl

FlowControl(
    max_bytes=104857600,
    max_messages=1000,
    max_lease_duration=3600,
    max_duration_per_lease_extension=0,
)

Create new instance of FlowControl(max_bytes, max_messages, max_lease_duration, max_duration_per_lease_extension)