Skip to content

Commit 59bf71e

Browse files
authored
pubsub: document auto message extension (#3491)
1 parent bb38280 commit 59bf71e

File tree

1 file changed

+2
-2
lines changed
  • google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1

1 file changed

+2
-2
lines changed

google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
*
7171
* <p>The subscriber handles the ack management, by automatically extending the ack deadline while
7272
* the message is being processed, to then issue the ack or nack of such message when the processing
73-
* is done. <strong>Note:</strong> message redelivery is still possible.
73+
* is done (see {@link Builder#setMaxAckExtensionPeriod(Duration)}). <strong>Note:</strong> message redelivery is still possible.
7474
*
7575
* <p>It also provides customizable options that control:
7676
*
@@ -547,7 +547,7 @@ Builder setAckExpirationPadding(Duration ackExpirationPadding) {
547547
}
548548

549549
/**
550-
* Set the maximum period a message ack deadline will be extended.
550+
* Set the maximum period a message ack deadline will be extended. Defaults to one hour.
551551
*
552552
* <p>It is recommended to set this value to a reasonable upper bound of the subscriber time to
553553
* process any message. This maximum period avoids messages to be <i>locked</i> by a subscriber

0 commit comments

Comments
 (0)