Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
Publisher message ordering. More...
#include <google/cloud/pubsub/options.h>
Public Types | |
using | Type = bool |
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.
Publisher
class for details. using google::cloud::pubsub::MessageOrderingOption::Type = bool |