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

     1  ---
     2  title: tcp
     3  type: input
     4  status: deprecated
     5  ---
     6  
     7  <!--
     8       THIS FILE IS AUTOGENERATED!
     9  
    10       To make changes please edit the contents of:
    11       lib/input/tcp.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  ```yaml
    22  # Config fields, showing default values
    23  input:
    24    label: ""
    25    tcp:
    26      address: localhost:4194
    27      multipart: false
    28      max_buffer: 1000000
    29      delimiter: ""
    30  ```
    31  
    32  Connects to a TCP server and consumes a continuous stream of messages.
    33  
    34  If multipart is set to false each line of data is read as a separate message. If
    35  multipart is set to true each line is read as a message part, and an empty line
    36  indicates the end of a message.
    37  
    38  Messages consumed by this input can be processed in parallel, meaning a single
    39  instance of this input can utilise any number of threads within a
    40  `pipeline` section of a config.
    41  
    42  If the delimiter field is left empty then line feed (\n) is used.
    43  
    44  ## Fields
    45  
    46  ### `address`
    47  
    48  Sorry! This field is missing documentation.
    49  
    50  
    51  Type: `string`  
    52  Default: `"localhost:4194"`  
    53  
    54  ### `multipart`
    55  
    56  Sorry! This field is missing documentation.
    57  
    58  
    59  Type: `bool`  
    60  Default: `false`  
    61  
    62  ### `max_buffer`
    63  
    64  Sorry! This field is missing documentation.
    65  
    66  
    67  Type: `int`  
    68  Default: `1000000`  
    69  
    70  ### `delimiter`
    71  
    72  Sorry! This field is missing documentation.
    73  
    74  
    75  Type: `string`  
    76  Default: `""`  
    77  
    78