# Rate Limits

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: Rate Limits
latest-connect-version: 4.93.0
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-redpanda-tag: v26.1.9
docname: rate_limits/about
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: rate_limits/about.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/rate_limits/about.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2024-09-09"
---

<!-- Source: https://docs.redpanda.com/connect/components/rate_limits/about.md -->

A rate limit is a strategy for limiting the usage of a shared resource across parallel components in a Redpanda Connect instance, or potentially across multiple instances. They are configured as a resource:

```yaml
rate_limit_resources:
  - label: foobar
    local:
      count: 500
      interval: 1s
```

And most components that hit external services have a field `rate_limit` for specifying a rate limit resource to use, identified by the `label` field. For example, if we wanted to use our `foobar` rate limit with an [`http_client`](https://docs.redpanda.com/connect/components/inputs/http_client/) input it would look like this:

```yaml
input:
  http_client:
    url: TODO
    verb: GET
    rate_limit: foobar
```

By using a rate limit in this way we can guarantee that our input will only poll our HTTP source at the rate of 500 requests per second.

Some components don’t have a `rate_limit` field but we might still wish to throttle them by a rate limit, in which case we can use the [`rate_limit` processor](https://docs.redpanda.com/connect/components/processors/rate_limit/) that applies back pressure to a processing pipeline when the limit is reached. For example, if we wished to limit the consumption of lines of a [`csv` file input](https://docs.redpanda.com/connect/components/inputs/csv/) to a specified rate limit we can do that with the following:

```yaml
input:
  csv:
    paths:
      - ./foo.csv
  processors:
    - rate_limit:
        resource: foobar
```

You can find out more about resources [in this document.](https://docs.redpanda.com/connect/configuration/resources/)