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 details the \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e for the Cloud Pub/Sub C++ client library, which controls the minimum time the client will extend the deadline for incoming messages.\u003c/p\u003e\n"],["\u003cp\u003eThe library automatically extends the message deadline while waiting for an acknowledgment (ack) or negative acknowledgment (nack) from the application, with the default minimum extension being 1 minute.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e value can be adjusted by the application to influence how quickly messages are resent or to avoid duplicate deliveries, and the value is constrained between 10 seconds and 10 minutes.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003eMaxDeadlineExtensionOption\u003c/code\u003e is configured, \u003ccode\u003eMinDeadlineExtensionOption\u003c/code\u003e is further constrained to a value between 10 seconds and the configured \u003ccode\u003eMaxDeadlineExtensionOption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this library is version 2.37.0-rc, and this page lists all versions from that down to version 2.11.0.\u003c/p\u003e\n"]]],[],null,[]]