Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
The maximum size for pending messages. More...
#include <google/cloud/pubsub/options.h>
Public Types | |
using | Type = std::size_t |
The maximum size for pending messages.
After a publisher flushes a batch of messages the batch is (obviously) not received immediately by the service. While the batch remains pending it potentially consumes memory resources in the client (and/or the service).
Some applications may have constraints on the number of bytes and/or messages they can tolerate in this pending state, and may prefer to block or reject messages.
using google::cloud::pubsub::MaxPendingBytesOption::Type = std::size_t |