Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.18.2
-
None
-
Unknown
Description
In recent versions of the Google PubSub client library, the message ack deadline can be extended up to 1 hour by default before the message is marked as expired:
https://github.com/googleapis/java-pubsub/blob/9add53894981d862ac1348d0b641e472b3b3aa79/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java#L96
To prevent long-running operations (more than 1 hour) from being executed multiple times due to message redelivery, it is necessary to configure the max ack extension period to a higher value using Subscriber.Builder.setMaxAckExtensionPeriod()
Proposed new feature: add a per-route parameter to configure the max ack extension period:
google-pubsub:myProject:mySubscription?maxAckExtensionPeriod=14400
Attachments
Issue Links
- links to