ChannelProvider to use to create Channels, which must point at Cloud Pub/Sub
endpoint.
For performance, this client benefits from having multiple channels open at once. Users
are encouraged to provide instances of ChannelProvider that creates new channels
instead of returning pre-initialized ones.
Sets the static header provider. The header provider will be called during client
construction only once. The headers returned by the provider will be cached and supplied as
is for each request issued by the constructed client. Some reserved headers can be overridden
(e.g. Content-Type) or merged with the default value (e.g. User-Agent) by the underlying
transport layer.
Set the maximum period a message ack deadline will be extended. Defaults to one hour.
It is recommended to set this value to a reasonable upper bound of the subscriber time to
process any message. This maximum period avoids messages to be locked by a subscriber
in cases when the ack reply is lost.
A zero duration effectively disables auto deadline extensions.
Set the upper bound for a single mod ack extention period.
The ack deadline will continue to be extended by up to this duration until
MaxAckExtensionPeriod is reached. Setting MaxDurationPerAckExtension bounds the maximum
amount of time before a mesage re-delivery in the event the Subscriber fails to extend the
deadline.
MaxDurationPerAckExtension configuration can be disabled by specifying a zero duration.
Set the lower bound for a single mod ack extention period.
The ack deadline will continue to be extended by up to this duration until
MinAckExtensionPeriod is reached. Setting MinDurationPerAckExtension bounds the minimum
amount of time before a mesage re-delivery in the event the Subscriber fails to extend the
deadline.
MinDurationPerAckExtension configuration can be disabled by specifying a zero duration.
Disables enforcing flow control settings at the Cloud PubSub server and uses the less
accurate method of only enforcing flow control at the client side.
[[["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年10月30日 UTC."],[],[]]