Skip to content

Bucket4jAutoConfiguration seems cann't support bandwidths #4097

@Ikki-Dai

Description

@Ikki-Dai

Is your feature request related to a problem? Please describe.
below config doesn't work

filters:
  - name:RequestRateLimiter
    args:
      bucket4j-rate-limiter.capacity: 100
      bucket4j-rate-limiter.refill-tokens: 100
      bucket4j-rate-limiter.refill-period: 1m
      bucket4j-rate-limiter.bandwidths: 
        - refill-period: 1m
          refill-tokens: 100
          capacity: 100
        - refill-period: 10m
          refill-tokens: 1000
          capacity: 1000

Describe the solution you'd like
hope it is supported

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions