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::MaxPendingBytesOption Struct Reference

The maximum size for pending messages. More...

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

Public Types

using Type = std::size_t
 

Detailed Description

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.

Member Typedef Documentation

◆ Type