Class PublishFlowControl (2.15.1)

PublishFlowControl(message_limit: int = 1000, byte_limit: int = 10000000, limit_exceeded_behavior: google.cloud.pubsub_v1.types.LimitExceededBehavior = <LimitExceededBehavior.IGNORE: 'ignore'>)

The client flow control settings for message publishing.

Methods

PublishFlowControl

PublishFlowControl(message_limit: int = 1000, byte_limit: int = 10000000, limit_exceeded_behavior: google.cloud.pubsub_v1.types.LimitExceededBehavior = <LimitExceededBehavior.IGNORE: 'ignore'>)

Create new instance of PublishFlowControl(message_limit, byte_limit, limit_exceeded_behavior)