Google Cloud Pub/Sub C++ Client  1.32.1
A C++ Client Library for Google Cloud Pub/Sub
Public Types | List of all members
google::cloud::pubsub::v1::MaxDeadlineExtensionOption Struct Reference

The maximum 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
 

Detailed Description

The maximum time by which the deadline for each incoming message is extended.

The Cloud Pub/Sub C++ client library will extend the deadline by at most this amount, while waiting for an ack or nack. The default extension is 10 minutes. 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.

The value is clamped between 10 seconds and 10 minutes.

Definition at line 208 of file options.h.

Member Typedef Documentation

◆ Type

Definition at line 209 of file options.h.