Skip to content

Commit

Permalink
pubsub: document auto message extension (#3491)
Browse files Browse the repository at this point in the history
  • Loading branch information
pongad authored Jul 25, 2018
1 parent bb38280 commit 59bf71e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
*
* <p>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. <strong>Note:</strong> message redelivery is still possible.
* is done (see {@link Builder#setMaxAckExtensionPeriod(Duration)}). <strong>Note:</strong> message redelivery is still possible.
*
* <p>It also provides customizable options that control:
*
Expand Down Expand Up @@ -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.
*
* <p>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 <i>locked</i> by a subscriber
Expand Down

0 comments on commit 59bf71e

Please sign in to comment.