Record: RetryConfiguration

Configurations for facilitating the retry capability of the gRPC client.

Closed record

Fields

  • retryCount int
  • Maximum number of retry attempts in a failure scenario

  • interval decimal
  • Initial interval(in seconds) between the retry attempts

  • maxInterval decimal
  • Maximum interval(in seconds) between two retry attempts

  • backoffFactor decimal
  • Retry interval will be multiplied by this factor, in between retry attempts

  • errorTypes ErrorType[ ](default defaultErrorTypes)
  • Error types which should be considered as failure scenarios to retry