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

     1  ---
     2  title: blob_storage
     3  type: output
     4  status: deprecated
     5  categories: ["Services","Azure"]
     6  ---
     7  
     8  <!--
     9       THIS FILE IS AUTOGENERATED!
    10  
    11       To make changes please edit the contents of:
    12       lib/output/blob_storage.go
    13  -->
    14  
    15  import Tabs from '@theme/Tabs';
    16  import TabItem from '@theme/TabItem';
    17  
    18  :::warning DEPRECATED
    19  This component is deprecated and will be removed in the next major version release. Please consider moving onto [alternative components](#alternatives).
    20  :::
    21  This component has been renamed to [`azure_blob_storage`](/docs/components/outputs/azure_blob_storage).
    22  
    23  
    24  <Tabs defaultValue="common" values={[
    25    { label: 'Common', value: 'common', },
    26    { label: 'Advanced', value: 'advanced', },
    27  ]}>
    28  
    29  <TabItem value="common">
    30  
    31  ```yaml
    32  # Common config fields, showing default values
    33  output:
    34    label: ""
    35    blob_storage:
    36      storage_account: ""
    37      storage_access_key: ""
    38      storage_sas_token: ""
    39      storage_connection_string: ""
    40      container: ""
    41      path: ${!count("files")}-${!timestamp_unix_nano()}.txt
    42      max_in_flight: 1
    43  ```
    44  
    45  </TabItem>
    46  <TabItem value="advanced">
    47  
    48  ```yaml
    49  # All config fields, showing default values
    50  output:
    51    label: ""
    52    blob_storage:
    53      storage_account: ""
    54      storage_access_key: ""
    55      storage_sas_token: ""
    56      storage_connection_string: ""
    57      public_access_level: PRIVATE
    58      container: ""
    59      path: ${!count("files")}-${!timestamp_unix_nano()}.txt
    60      blob_type: BLOCK
    61      max_in_flight: 1
    62  ```
    63  
    64  </TabItem>
    65  </Tabs>
    66  
    67  
    68  ## Performance
    69  
    70  This output benefits from sending multiple messages in flight in parallel for
    71  improved performance. You can tune the max number of in flight messages with the
    72  field `max_in_flight`.
    73  
    74  ## Fields
    75  
    76  ### `storage_account`
    77  
    78  The storage account to upload messages to. This field is ignored if `storage_connection_string` is set.
    79  
    80  
    81  Type: `string`  
    82  Default: `""`  
    83  
    84  ### `storage_access_key`
    85  
    86  The storage account access key. This field is ignored if `storage_connection_string` is set.
    87  
    88  
    89  Type: `string`  
    90  Default: `""`  
    91  
    92  ### `storage_sas_token`
    93  
    94  The storage account SAS token. This field is ignored if `storage_connection_string` or `storage_access_key` are set.
    95  
    96  
    97  Type: `string`  
    98  Default: `""`  
    99  
   100  ### `storage_connection_string`
   101  
   102  A storage account connection string. This field is required if `storage_account` and `storage_access_key` / `storage_sas_token` are not set.
   103  
   104  
   105  Type: `string`  
   106  Default: `""`  
   107  
   108  ### `public_access_level`
   109  
   110  The container's public access level. The default value is `PRIVATE`.
   111  
   112  
   113  Type: `string`  
   114  Default: `"PRIVATE"`  
   115  Options: `PRIVATE`, `BLOB`, `CONTAINER`.
   116  
   117  ### `container`
   118  
   119  The container for uploading the messages to.
   120  This field supports [interpolation functions](/docs/configuration/interpolation#bloblang-queries).
   121  
   122  
   123  Type: `string`  
   124  Default: `""`  
   125  
   126  ```yaml
   127  # Examples
   128  
   129  container: messages-${!timestamp("2006")}
   130  ```
   131  
   132  ### `path`
   133  
   134  The path of each message to upload.
   135  This field supports [interpolation functions](/docs/configuration/interpolation#bloblang-queries).
   136  
   137  
   138  Type: `string`  
   139  Default: `"${!count(\"files\")}-${!timestamp_unix_nano()}.txt"`  
   140  
   141  ```yaml
   142  # Examples
   143  
   144  path: ${!count("files")}-${!timestamp_unix_nano()}.json
   145  
   146  path: ${!meta("kafka_key")}.json
   147  
   148  path: ${!json("doc.namespace")}/${!json("doc.id")}.json
   149  ```
   150  
   151  ### `blob_type`
   152  
   153  Block and Append blobs are comprised of blocks, and each blob can support up to 50,000 blocks. The default value is `+"`BLOCK`"+`.`
   154  This field supports [interpolation functions](/docs/configuration/interpolation#bloblang-queries).
   155  
   156  
   157  Type: `string`  
   158  Default: `"BLOCK"`  
   159  Options: `BLOCK`, `APPEND`.
   160  
   161  ### `max_in_flight`
   162  
   163  The maximum number of messages to have in flight at a given time. Increase this to improve throughput.
   164  
   165  
   166  Type: `int`  
   167  Default: `1`  
   168  
   169