Retry Binary Provider Configuration
In case of a failure in a read or write operation, this binary provider notifies its underlying provider in the hierarchy to retry the operation.
type |
retry |
interval |
Default: 5000 ms The time interval to wait before retries. |
maxTrys |
Default: 5 The maximum number of attempts to read or write before responding with failure. |
Example
The example below shows a configuration that uses S3 for persistent storage , but uses a retry provider to keep retrying (up to a maximum of 10 times) in case upload fails.
XXXXXXXXX XXXXXXXX false 10