Rate Limiter Config
data class RateLimiterConfig(val maxMessages: Int, val window: Duration, val onLimitExceeded: RateLimitAction = RateLimitAction.STOP)
Immutable rate limiter configuration with max messages allowed within a sliding time window.
Constructors
Link copied to clipboard
constructor(maxMessages: Int, window: Duration, onLimitExceeded: RateLimitAction = RateLimitAction.STOP)