github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/processors/bounds_check.md (about) 1 --- 2 title: bounds_check 3 type: processor 4 status: stable 5 categories: ["Utility"] 6 --- 7 8 <!-- 9 THIS FILE IS AUTOGENERATED! 10 11 To make changes please edit the contents of: 12 lib/processor/bounds_check.go 13 --> 14 15 import Tabs from '@theme/Tabs'; 16 import TabItem from '@theme/TabItem'; 17 18 19 Removes messages (and batches) that do not fit within certain size boundaries. 20 21 22 <Tabs defaultValue="common" values={[ 23 { label: 'Common', value: 'common', }, 24 { label: 'Advanced', value: 'advanced', }, 25 ]}> 26 27 <TabItem value="common"> 28 29 ```yaml 30 # Common config fields, showing default values 31 label: "" 32 bounds_check: 33 max_part_size: 1073741824 34 min_part_size: 1 35 ``` 36 37 </TabItem> 38 <TabItem value="advanced"> 39 40 ```yaml 41 # All config fields, showing default values 42 label: "" 43 bounds_check: 44 max_part_size: 1073741824 45 min_part_size: 1 46 max_parts: 100 47 min_parts: 1 48 ``` 49 50 </TabItem> 51 </Tabs> 52 53 ## Fields 54 55 ### `max_part_size` 56 57 The maximum size of a message to allow (in bytes) 58 59 60 Type: `int` 61 Default: `1073741824` 62 63 ### `min_part_size` 64 65 The minimum size of a message to allow (in bytes) 66 67 68 Type: `int` 69 Default: `1` 70 71 ### `max_parts` 72 73 The maximum size of message batches to allow (in message count) 74 75 76 Type: `int` 77 Default: `100` 78 79 ### `min_parts` 80 81 The minimum size of message batches to allow (in message count) 82 83 84 Type: `int` 85 Default: `1` 86 87