github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/processors/decode.md (about) 1 --- 2 title: decode 3 type: processor 4 status: deprecated 5 --- 6 7 <!-- 8 THIS FILE IS AUTOGENERATED! 9 10 To make changes please edit the contents of: 11 lib/processor/decode.go 12 --> 13 14 import Tabs from '@theme/Tabs'; 15 import TabItem from '@theme/TabItem'; 16 17 :::warning DEPRECATED 18 This component is deprecated and will be removed in the next major version release. Please consider moving onto [alternative components](#alternatives). 19 ::: 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 decode: 33 scheme: base64 34 ``` 35 36 </TabItem> 37 <TabItem value="advanced"> 38 39 ```yaml 40 # All config fields, showing default values 41 label: "" 42 decode: 43 scheme: base64 44 parts: [] 45 ``` 46 47 </TabItem> 48 </Tabs> 49 50 ## Fields 51 52 ### `scheme` 53 54 The decoding scheme to use. 55 56 57 Type: `string` 58 Default: `"base64"` 59 Options: `hex`, `base64`, `ascii85`, `z85`. 60 61 ### `parts` 62 63 An optional array of message indexes of a batch that the processor should apply to. 64 If left empty all messages are processed. This field is only applicable when 65 batching messages [at the input level](/docs/configuration/batching). 66 67 Indexes can be negative, and if so the part will be selected from the end 68 counting backwards starting from -1. 69 70 71 Type: `array` 72 Default: `[]` 73 74 ## Alternatives 75 76 All functionality of this processor has been superseded by the 77 [bloblang](/docs/components/processors/bloblang) processor. 78