AdaptiveRetryStrategy
class AdaptiveRetryStrategy(val config: AdaptiveRetryStrategy.Config = Config.Default) : StandardRetryStrategy
Implements a retry strategy with exponential backoff, a token bucket for limiting retries, and a client-side rate limiter for achieving the ideal request rate. Note that the backoff delayer, token bucket, and rate limiter all work independently of each other. Any of the three may delay retries (and the rate limiter may delay the initial try as well).
Note: The adaptive retry strategy is an advanced mode. It is not recommended for typical use cases. In most cases, StandardRetryStrategy is the preferred retry mode.
Parameters
config
The configuration for this retry strategy