Class PublisherOptions (2.11.1)

PublisherOptions(enable_message_ordering: bool = False, flow_control: google.cloud.pubsub_v1.types.PublishFlowControl = PublishFlowControl(message_limit=1000, byte_limit=10000000, limit_exceeded_behavior=<LimitExceededBehavior.IGNORE: 'ignore'>), retry: OptionalRetry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: OptionalTimeout = <_MethodDefault._DEFAULT_VALUE: <object object>>)

The options for the publisher client.

Methods

PublisherOptions

PublisherOptions(enable_message_ordering: bool = False, flow_control: google.cloud.pubsub_v1.types.PublishFlowControl = PublishFlowControl(message_limit=1000, byte_limit=10000000, limit_exceeded_behavior=<LimitExceededBehavior.IGNORE: 'ignore'>), retry: OptionalRetry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: OptionalTimeout = <_MethodDefault._DEFAULT_VALUE: <object object>>)

Create new instance of PublisherOptions(enable_message_ordering, flow_control, retry, timeout)