[
https://issues.apache.org/jira/browse/CAMEL-18503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605631#comment-17605631
]
Vincent Paturet commented on CAMEL-18503:
-----------------------------------------
Would it be possible to have this backported to 3.18.x?
> Configure max ack extension period parameter in PubSub subscriber
> -----------------------------------------------------------------
>
> Key: CAMEL-18503
> URL: https://issues.apache.org/jira/browse/CAMEL-18503
> Project: Camel
> Issue Type: New Feature
> Components: camel-google-pubsub
> Affects Versions: 3.18.2
> Reporter: Vincent Paturet
> Priority: Major
> Fix For: 3.19.0
>
>
> 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
>
> PR: [https://github.com/apache/camel/pull/8363]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)