-
Is it possible with YARP to set a rate limiting policy using configuration without defining a specific .NET service? I have a requirement to fully configure the rate limiting policy through configuration. I cannot find information if the YARP support that itself, or it needs to be done on my own. Here is an example of what I'm trying to achieve: {
"RateLimiterPolicy": {
"FixedWindow": {
"PermitLimit": 100,
"QueueLimit": 5
}
}
} Thanks in advance for any suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, YARP will only read the Do you need to modify the policy after startup? |
Beta Was this translation helpful? Give feedback.
No, YARP will only read the
RateLimiterPolicy
as astring
for the name.You would have to do the config => policy creation yourself.
Do you need to modify the policy after startup?