Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
Public Types | List of all members
google::cloud::pubsub::MessageOrderingOption Struct Reference

Publisher message ordering. More...

#include <google/cloud/pubsub/options.h>

Public Types

using Type = bool
 

Detailed Description

Publisher message ordering.

To guarantee messages are received by the service in the same order that the application gives them to a publisher, the client library needs to wait until a batch of messages is successfully delivered before sending the next batch, otherwise batches may arrive out of order as there is no guarantee the same channel or network path is used for each batch.

For applications that do not care about message ordering, this can limit the throughput. Therefore, the behavior is disabled by default.

See also
the documentation for the Publisher class for details.

Member Typedef Documentation

◆ Type