Class PublisherOptions (2.9.0)

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: retries.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: gapic_types.TimeoutType = <_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: retries.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: gapic_types.TimeoutType = <_MethodDefault._DEFAULT_VALUE: <object object>>)

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