Rate Limiter Configuration
data class RateLimiterConfiguration(var limits: RateLimits = RateLimits(), var mechanism: RateLimitMechanism = TokenBucketLimiterImpl())
Class containing configuration for global rate limiting.
Constructors
Link copied to clipboard
constructor(limits: RateLimits = RateLimits(), mechanism: RateLimitMechanism = TokenBucketLimiterImpl())
Properties
Link copied to clipboard
Action that will be applied when the limit is exceeded.
Link copied to clipboard
Global rate limits.
Link copied to clipboard
Mechanism used for rate limiting. Default is TokenBucket algorithm.