Interface TokenBucketConfiguration
@ConfigMapping(prefix="polaris.rate-limiter.token-bucket")
public interface TokenBucketConfiguration
-
Method Details
-
requestsPerSecond
long requestsPerSecond() -
window
Duration window() -
type
String type()The type of the token bucket factory. Must be a registeredTokenBucketFactoryidentifier.
-