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."],[[["This page details the `MinDeadlineExtensionOption` for the Cloud Pub/Sub C++ client library, which controls the minimum time the client will extend the deadline for incoming messages."],["The `MinDeadlineExtensionOption` ensures that message deadlines are extended by at least a specified duration while the client awaits acknowledgment or negative acknowledgment (ack or nack) from the application, and by default is 1 minute."],["The minimum extension value is restricted between 10 seconds and 10 minutes, and it can be further limited by the configured `MaxDeadlineExtensionOption` value."],["Adjusting the `MinDeadlineExtensionOption` allows applications to manage the timing of message redelivery, with shorter extensions resulting in quicker redelivery and longer extensions in less frequent duplicates."],["This document provides links to the `MinDeadlineExtensionOption` documentation across many versions of the C++ client library, ranging from 2.11.0 up to the latest release candidate, 2.37.0-rc."]]],[]]