Skip to content

Commit

Permalink
[improve][doc] Default behaviour with acknowledge timeout (#18436)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroStream authored Nov 12, 2022
1 parent c8b2a51 commit fdf86d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site2/docs/concepts-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ If batching is enabled, all messages in one batch are redelivered to the consume

### Acknowledgment timeout

:::note

By default, the acknowledge timeout is disabled and that means that messages delivered to a consumer will not be re-delivered unless the consumer crashes.

:::

The acknowledgment timeout mechanism allows you to set a time range during which the client tracks the unacknowledged messages. After this acknowledgment timeout (`ackTimeout`) period, the client sends `redeliver unacknowledged messages` request to the broker, thus the broker resends the unacknowledged messages to the consumer.

You can configure the acknowledgment timeout mechanism to redeliver the message if it is not acknowledged after `ackTimeout` or to execute a timer task to check the acknowledgment timeout messages during every `ackTimeoutTickTime` period.
Expand Down

0 comments on commit fdf86d3

Please sign in to comment.