# sync_response

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: sync_response
latest-connect-version: 4.93.0
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-redpanda-tag: v26.1.9
docname: outputs/sync_response
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: outputs/sync_response.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/outputs/sync_response.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2025-06-25"
---

<!-- Source: https://docs.redpanda.com/connect/components/outputs/sync_response.md -->

**Type:** Output ▼

[Output](https://docs.redpanda.com/connect/components/outputs/sync_response/)[Processor](https://docs.redpanda.com/connect/components/processors/sync_response/)

**Available in:** [Cloud](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/sync_response/%20%22View%20the%20Cloud%20version%20of%20this%20component%22), Self-Managed

Returns the final message payload back to the input origin of the message, where it is dealt with according to that specific input type.

```yml
# Config fields, showing default values
output:
  label: ""
  sync_response: {}
```

For most inputs this mechanism is ignored entirely, in which case the sync response is dropped without penalty. It is therefore safe to use this output even when combining input types that might not have support for sync responses. An example of an input able to utilize this is the `http_server`.

It is safe to combine this output with others using broker types. For example, with the `http_server` input we could send the payload to a Kafka topic and also send a modified payload back with:

```yaml
input:
  http_server:
    path: /post
output:
  broker:
    pattern: fan_out
    outputs:
      - kafka:
          addresses: [ TODO:9092 ]
          topic: foo_topic
      - sync_response: {}
        processors:
          - mapping: 'root = content().uppercase()'
```

Using the above example and posting the message 'hello world' to the endpoint `/post` Redpanda Connect would send it unchanged to the topic `foo_topic` and also respond with 'HELLO WORLD'. For more information please read [synchronous responses](https://docs.redpanda.com/connect/guides/sync_responses/).