marcosbarbero / spring-cloud-zuul-ratelimit

Rate limit auto-configure for Spring Cloud Netflix Zuul

Home Page:https://blog.marcosbarbero.com/spring-cloud-netflix-zuul-rate-limit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limiting rate (Downstream) services.

Gondagar opened this issue · comments

Hi, what about downstream service?
How can i configure yml file?

My current yml file ---------------------------------------------------------

zuul:
  prefix: /api
  routes:
    auth-service:
      path: /auth/**
      serviceId: auth-service
    foo-service:
      path: /foo/**
      serviceId: foo-service
  ratelimit:
    behind-proxy: true
    response-headers: standard
    enabled: true
    repository: REDIS
    policy-list:
      auth-service:     -------------------------   it is good?
        - limit: 4
          refresh-interval: 15
          type:
            - origin
  strip-prefix: false   -------------------------  it is good?

----------------------------------------------------------------- end

Pleace help me with this config file :)

Hello @Gondagar, thanks for getting in touch, we will get back to you asap! If you have issues in the 1.x.x.RELEASE line we recommend you to update to the latest version, unfortunately this line is not supported anymore.

Hi @Gondagar, it seems good to me. Are you facing any problems?

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 1 day