This is an automated email from the ASF dual-hosted git repository. apupier pushed a commit to branch apupier-patch-1 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 324e80cfc6809b797874aff970200583490d5c39 Author: Aurélien Pupier <[email protected]> AuthorDate: Tue Sep 30 16:49:38 2025 +0200 Update google-pubsub-component.adoc - remove no more available ACK_DEADLINE fixes apache/camel-quarkus#5518 it was removed with https://github.com/apache/camel/pull/3551/files --- .../src/main/docs/google-pubsub-component.adoc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/components/camel-google/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc b/components/camel-google/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc index 90dc45cd53a..5165b27fb81 100644 --- a/components/camel-google/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc +++ b/components/camel-google/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc @@ -110,22 +110,6 @@ By default, this component acquires credentials using `GoogleCredentials.getAppl This behavior can be disabled by setting _authenticate_ option to `false`, in which case requests to Google API will be made without authentication details. This is only desirable when developing against an emulator. This behavior can be altered by supplying a path to a service account key file. -=== Rollback and Redelivery - -The rollback for Google PubSub relies on the idea of the Acknowledgement Deadline - the time period where Google PubSub expects to receive the acknowledgement. -If the acknowledgement has not been received, the message is redelivered. - -Google provides an API to extend the deadline for a message. - -More information in https://cloud.google.com/pubsub/docs/subscriber#ack_deadline[Google PubSub Documentation] - -So, rollback is effectively a deadline extension API call with zero value - i.e., deadline is reached now, and the message can -be redelivered to the next consumer. - -It is possible to delay the message redelivery by setting the acknowledgement deadline explicitly for the rollback by -setting the message header `GooglePubsubConstants.ACK_DEADLINE` to the value in seconds. - - include::spring-boot:partial$starter.adoc[] === Manual Acknowledgement
