github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/rate_limits/local.md (about)

     1  ---
     2  title: local
     3  type: rate_limit
     4  status: stable
     5  ---
     6  
     7  <!--
     8       THIS FILE IS AUTOGENERATED!
     9  
    10       To make changes please edit the contents of:
    11       lib/rate_limit/local.go
    12  -->
    13  
    14  import Tabs from '@theme/Tabs';
    15  import TabItem from '@theme/TabItem';
    16  
    17  
    18  The local rate limit is a simple X every Y type rate limit that can be shared
    19  across any number of components within the pipeline but does not support
    20  distributed rate limits across multiple running instances of Benthos.
    21  
    22  ```yaml
    23  # Config fields, showing default values
    24  label: ""
    25  local:
    26    count: 1000
    27    interval: 1s
    28  ```
    29  
    30  ## Fields
    31  
    32  ### `count`
    33  
    34  The maximum number of requests to allow for a given period of time.
    35  
    36  
    37  Type: `int`  
    38  Default: `1000`  
    39  
    40  ### `interval`
    41  
    42  The time window to limit requests by.
    43  
    44  
    45  Type: `string`  
    46  Default: `"1s"`  
    47  
    48