dream11 / kong-scalable-rate-limiter

Kong plugin for Rate Limiting at high throughputs.
https://dream11.github.io/kong-scalable-rate-limiter/
MIT License
37 stars 10 forks source link

What is the header name to utilise limit_by header config? #23

Open pawandhiman10 opened 3 months ago

pawandhiman10 commented 3 months ago

Hello, could you help me with the header name to make use of limit_by: header. I tried with different headers as below but seeing the same error again and again:

Error:

2024/03/27 19:26:18 [error] 10567#0: *6018 [kong] handler.lua:76 [scalable-rate-limiter] No rate-limiting identifier found in request, client: 110.225.87.235, server: kong, request: "POST /api HTTP/2", host: "example.com"

Also, when I try to get the KEYS in redis cluster, it is returning empty. The above mentioned headers work with the default rate-limiting plugin. Does it need headers with a new name in this plugin?