Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
The minimum time by which the deadline for each incoming message is extended. More...
#include <google/cloud/pubsub/options.h>
Public Types | |
using | Type = std::chrono::seconds |
The minimum time by which the deadline for each incoming message is extended.
While waiting for an ack or nack from the application the Cloud Pub/Sub C++ client library will extend the deadline by at least this amount. The default minimum extension is 1 minute. An application may wish to reduce this extension so that the Pub/Sub service will resend a message sooner when it does not hear back from a Subscriber. An application may wish to increase this extension time to avoid duplicate message delivery.
The value is clamped between 10 seconds and 10 minutes. Furthermore, if the application configures MaxDeadlineExtensionOption
, then MinDeadlineExtensionOption
is clamped between 10 seconds and the value of MaxDeadlineExtensionOption
.
using google::cloud::pubsub::MinDeadlineExtensionOption::Type = std::chrono::seconds |