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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe page documents the \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e for the Cloud Pub/Sub C++ client library, detailing its role in extending message deadlines.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e determines the minimum time by which message deadlines are extended while waiting for an acknowledgment or negative acknowledgment.\u003c/p\u003e\n"],["\u003cp\u003eThe default minimum extension is one minute, but it can be adjusted to make message resends happen faster, or avoid duplicate message delivery.\u003c/p\u003e\n"],["\u003cp\u003eThe extension time can range between 10 seconds and 10 minutes, and it's also constrained by the value set in the \u003ccode\u003eMaxDeadlineExtensionOption\u003c/code\u003e, if configured.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides versioned documentation for this feature, listing versions from 2.11.0 to 2.37.0-rc, and the current version is listed as 2.12.0.\u003c/p\u003e\n"]]],[],null,[]]