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 provides documentation for the `MinDeadlineExtensionOption` in the Cloud Pub/Sub C++ client library, detailing how it manages the minimum time the deadline for incoming messages is extended."],["The Cloud Pub/Sub client automatically extends message deadlines by at least the duration set by `MinDeadlineExtensionOption` while awaiting acknowledgment or non-acknowledgment from the application, with the default being 1 minute."],["Users can adjust the `MinDeadlineExtensionOption` 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."],["The `MinDeadlineExtensionOption` value is restricted to a range of 10 seconds to 10 minutes, and is further limited by the value set in the `MaxDeadlineExtensionOption` if it is also configured."],["The type used for `MinDeadlineExtensionOption` is equivalent to `std::chrono::seconds`, representing the duration in seconds."]]],[]]