The maximum time by which the deadline for each incoming message is extended.
While waiting for an ack or nack, The Cloud Pub/Sub C++ client library will extend the deadline by at most this amount. The default extension time is 10 minutes. An application may wish to reduce this extension time so the Pub/Sub service will resend a message sooner when it does not hear back from a Subscriber. With at-least-once semantics, making the time too short may increase the number of duplicate messages delivered by the service.
The value is clamped between 10 seconds and 10 minutes. Note that this option also affects the effective range for MinDeadlineExtensionOption.
[[["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 document outlines the `MaxDeadlineExtensionOption` for the Cloud Pub/Sub C++ client library, which controls the maximum time the client extends the deadline for incoming messages while waiting for acknowledgment."],["The `MaxDeadlineExtensionOption` has a default extension time of 10 minutes, but this can be reduced to resend a message sooner when no response is received."],["Adjusting the maximum extension time impacts the frequency of potential duplicate messages delivered due to at-least-once semantics."],["The value for the `MaxDeadlineExtensionOption` is constrained to a range between 10 seconds and 10 minutes, and it also influences the range of `MinDeadlineExtensionOption`."],["The available versions for the `MaxDeadlineExtensionOption` are listed, starting from the latest release candidate version 2.37.0-rc all the way to 2.11.0, including version 2.24.0."]]],[]]