retry_limiter

retry_limiter #

Description #

The retry_limiter filter is used to judge whether the maximum retry count is reached for a request, to avert unlimited retries of a request.

Configuration Example #

A simple example is as follows:

flow:
  - name: retry_limiter
    filter:
      - retry_limiter:
          queue_name: "deadlock_messages"
          max_retry_times: 3

Parameter Description #

NameTypeDescription
max_retry_timesintMaximum retry count. The default value is 3.
queue_namestringName of a message queue, to which messages are output after the maximum retry count is reached
tag_on_successarraySpecified tag to be attached to request context after retry conditions are triggered
Edit Edit this page