= local
:type: rate_limit
:status: stable



////
     THIS FILE IS AUTOGENERATED!

     To make changes, edit the corresponding source file under:

     https://github.com/redpanda-data/connect/tree/main/internal/impl/<provider>.

     And:

     https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl
////

// © 2024 Redpanda Data Inc.


component_type_dropdown::[]


The local rate limit is a simple X every Y type rate limit that can be shared across any number of components within the pipeline but does not support distributed rate limits across multiple running instances of Benthos.

```yml
# Config fields, showing default values
label: ""
local:
  count: 1000
  interval: 1s
```

== Fields

=== `count`

The maximum number of requests to allow for a given period of time.


*Type*: `int`

*Default*: `1000`

=== `interval`

The time window to limit requests by.


*Type*: `string`

*Default*: `"1s"`


