Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiting plugin issue with multiple consumers #68

Open
bmaynard opened this issue May 10, 2017 · 2 comments
Open

Rate limiting plugin issue with multiple consumers #68

bmaynard opened this issue May 10, 2017 · 2 comments
Labels

Comments

@bmaynard
Copy link

I have multiple rate plugins assigned to a single api but each record is assigned to a different consumer.

When I do a dump it doesn't export the consumer id:

      - name: rate-limiting
        attributes:
          enabled: true
          config:
            minute: 300
            limit_by: ip
            fault_tolerant: true
            redis_database: 0
            redis_host: 127.0.0.1
            policy: redis
            redis_timeout: 2000
            redis_port: 6379
      - name: rate-limiting
        attributes:
          enabled: true
          config:
            limit_by: ip
            minute: 60
            fault_tolerant: true
            redis_database: 0
            redis_timeout: 2000
            policy: redis
            redis_host: 127.0.0.1
            redis_port: 6379

and if I add consumer_id to the attributes and run apply, it just updates the one plugin record and won't create a new record (if its a new plugin assigned to a different consumer).

@CyExy CyExy added the bug label May 15, 2017
@tophercullen
Copy link

@CyExy I believe these are the same issues that #71 tries to address

@julienlau
Copy link

Maybe it should be closed then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants