This is a standalone configuration type, prefix from configuration root: fault-tolerance.retries

Configuration options

Table 1. Optional configuration options
key type default value description

calls

int

3

Number of calls (first try + retries).

delay

Duration

PT0.2S

Base delay between try and retry. Defaults to 200 ms.

delay-factor

double

-1.0

Delay retry policy factor. If unspecified (value of -1), Jitter retry policy would be used, unless jitter is also unspecified.

Default when Retry.DelayingRetryPolicy is used is 2.

enable-metrics

boolean

false

Flag to enable metrics for this instance. The value of this flag is combined with the global config entry io.helidon.faulttolerance.FaultTolerance.FT_METRICS_DEFAULT_ENABLED. If either of these flags is true, then metrics will be enabled for the instance.

jitter

Duration

PT-1S

Jitter for Retry.JitterRetryPolicy. If unspecified (value of -1), delaying retry policy is used. If both this value, and delayFactor() are specified, delaying retry policy would be used.

overall-timeout

Duration

PT1S

Overall timeout of all retries combined.