Skip to main content

Rate Limiting

Type: middleware.http.ratelimit

Status: stable

Reference: https://docs.dapr.io/reference/components-reference/supported-middleware/middleware-rate-limit/

Example

apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: middleware.http.ratelimit
version: v1
metadata:
# Maximum number of requests allowed per second
- name: maxRequestsPerSecond
value: "100"

Metadata

maxRequestsPerSecond (number)

Required - Maximum number of requests allowed per second

Example value: 100