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

     1  ---
     2  title: sync_response
     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/sync_response.go
    13  -->
    14  
    15  import Tabs from '@theme/Tabs';
    16  import TabItem from '@theme/TabItem';
    17  
    18  
    19  Adds the payload in its current state as a synchronous response to the input
    20  source, where it is dealt with according to that specific input type.
    21  
    22  ```yaml
    23  # Config fields, showing default values
    24  label: ""
    25  sync_response: {}
    26  ```
    27  
    28  For most inputs this mechanism is ignored entirely, in which case the sync
    29  response is dropped without penalty. It is therefore safe to use this processor
    30  even when combining input types that might not have support for sync responses.
    31  An example of an input able to utilise this is the `http_server`.
    32  
    33  For more information please read [Synchronous Responses](/docs/guides/sync_responses).
    34  
    35