Struct MaxPendingBytesOption (2.22.0)

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.

Type Aliases


Alias Of: std::size_t