retry section corresponds to the Pub/Sub API
com.google.api.gax.retrying.RetrySettings. It lets you set how the connector behaves when it is unable to connect with Pub/Sub.
All options that have to do with delays or timeouts use a format similar to the ISO-8601 format for durations. The format is
Pfor "period" indicates that the next value is the number of days.
nDis the number of days. For example,
1Dspecifies one day.
Tindicates that the next value or values specify the duration of time.
nHis the number of hours. For example,
1Hspecifies one hour.
nMis the number of minutes. For example,
1Mspecifies one minute.
n.nSis the number of seconds. You can use decimal numbers that have up to nine digits. For example,
3.141519Sspecifies 3.141519 seconds.
T0.001Sspecifies one millisecond.
T120Sboth specify two minutes.
P1DT12H30M45Sspecifies one day, twelve hours, thirty minutes, and forty-five seconds.
|No||0||The delay before the first retry. Subsequent retries use this value adjusted according to the |
|No||0||The timeout for the initial RPC. Subsequent calls use this value adjusted according to |
|No||Determines if the delay time should be randomized. In most cases, if jitter is set to true the actual delay time is calculated in the following way:|
|No||0||The maximum number of attempts to perform. If this value is greater than 0, and the number of attempts reaches this limit, the logic gives up retrying even if the total retry time is still lower than |
|No||0||The limit on the value of the retry delay, so that the |
|No||0||The limit on the value of the RPC timeout, so that the |
|No||1.0||The change in retry delay. The retry delay of the previous call is multiplied by this value to calculate the retry delay for the next call.|
|No||1.0||The change in RPC timeout. The timeout of the previous call is multiplied by this value to calculate the timeout for the next call.|
|No||0||How long the logic should keep trying the remote call until it gives up completely. The higher the total timeout, the more retries can be attempted.|