diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java index 8669682e727c..5debfdf3218f 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java @@ -70,7 +70,7 @@ * *

The subscriber handles the ack management, by automatically extending the ack deadline while * the message is being processed, to then issue the ack or nack of such message when the processing - * is done. Note: message redelivery is still possible. + * is done (see {@link Builder#setMaxAckExtensionPeriod(Duration)}). Note: message redelivery is still possible. * *

It also provides customizable options that control: * @@ -547,7 +547,7 @@ Builder setAckExpirationPadding(Duration ackExpirationPadding) { } /** - * Set the maximum period a message ack deadline will be extended. + * 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