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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["The webpage details the `MinDeadlineExtensionOption` within the Google Cloud Pub/Sub C++ client library, which controls the minimum time by which the deadline for each incoming message is extended."],["The `MinDeadlineExtensionOption` determines the minimum duration the client will extend a message's deadline while waiting for an acknowledgment (ack) or negative acknowledgment (nack) from the application, defaulting to 1 minute."],["The `MinDeadlineExtensionOption` can be adjusted to reduce the extension time, prompting the Pub/Sub service to resend the message sooner, or to increase it, which might prevent duplicate message deliveries."],["The value for `MinDeadlineExtensionOption` must be between 10 seconds and 10 minutes, and it is also clamped to a maximum of the value of `MaxDeadlineExtensionOption` if that option is configured."],["The type of `MinDeadlineExtensionOption` is an alias of `std::chrono::seconds`."]]],[]]