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\u003eThis page provides documentation for the \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e in the Cloud Pub/Sub C++ client library, detailing how it manages the minimum time the deadline for incoming messages is extended.\u003c/p\u003e\n"],["\u003cp\u003eThe Cloud Pub/Sub client automatically extends message deadlines by at least the duration set by \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e while awaiting acknowledgment or non-acknowledgment from the application, with the default being 1 minute.\u003c/p\u003e\n"],["\u003cp\u003eUsers can adjust the \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e to control how quickly the Pub/Sub service resends messages if no response is received, allowing for balancing between faster message redelivery and avoiding duplicates.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e value is restricted to a range of 10 seconds to 10 minutes, and is further limited by the value set in the \u003ccode\u003eMaxDeadlineExtensionOption\u003c/code\u003e if it is also configured.\u003c/p\u003e\n"],["\u003cp\u003eThe type used for \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e is equivalent to \u003ccode\u003estd::chrono::seconds\u003c/code\u003e, representing the duration in seconds.\u003c/p\u003e\n"]]],[],null,[]]