---
title: drop
page-cloud: true
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
latest-redpanda-tag: v26.2.7
docname: connect/components/outputs/drop
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/outputs/drop.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/outputs/drop.adoc
description: Drops all messages.
page-topic-type: reference
personas: streaming_developer, app_developer
learning-objective-1: Look up drop output syntax and configuration
learning-objective-2: Find examples of drop in conditional routing
learning-objective-3: Identify use cases for drop output in pipelines
page-self-managed-available: "true"
page-self-managed-available-url: https://docs.redpanda.com/connect/components/outputs/drop/
page-git-created-date: "2024-09-09"
page-git-modified-date: "2026-10-19"
page-generated-sources:
  - include: connect:components:partial$descriptions/outputs/drop.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

# drop

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

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/drop.md -->

Drops all messages.

The `drop` output acknowledges each message as soon as it receives it and then discards it, without errors or side effects. Because it adds almost no overhead, it’s useful for measuring input and processing throughput without an output bottleneck, for temporarily disabling output while you develop a pipeline, for discarding unwanted messages in a [`switch`](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/switch/) output, and as the final fallback in a [`fallback`](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/fallback/) output.

Use this reference to:

-   Look up drop output syntax and configuration

-   Find examples of drop in conditional routing

-   Identify use cases for drop output in pipelines


```yaml
output:
  label: ""
  drop: {}
```

## Examples

### Conditional filtering

Use `drop` with the [`switch`](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/switch/) output to conditionally discard messages:

```yaml
output:
  switch:
    cases:
      - check: this.type == "error"
        output:
          label: error_sink
          redpanda:
            seed_brokers: ["redpanda:9092"]
            topic: errors
      - check: this.type == "debug"
        output:
          label: drop_debug
          drop: {}  # Don't process debug messages in production
      - output:
          label: main_sink
          redpanda:
            seed_brokers: ["redpanda:9092"]
            topic: events
```

### Final fallback after a dead letter topic

Use `drop` as the last output in a [`fallback`](https://docs.redpanda.com/cloud-data-platform/develop/connect/components/outputs/fallback/) chain, after a dead letter topic, so a message that neither output accepts is discarded instead of blocking the pipeline:

```yaml
output:
  fallback:
    - redpanda:
        seed_brokers: ["redpanda:9092"]
        topic: primary_topic
        max_in_flight: 1
    - redpanda:
        seed_brokers: ["redpanda:9092"]
        topic: dlq_topic
    - drop: {}  # Last resort: drop if both outputs fail
```

### Testing input throughput

Measure how fast your input can consume data without output bottlenecks:

```yaml
input:
  redpanda:
    seed_brokers: ["redpanda:9092"]
    topics: ["test"]
    consumer_group: throughput_test
output:
  drop: {}  # Measure input consumption speed without output overhead
```

For more patterns on message routing, filtering, and when to use `drop` vs. other approaches, see the [Message Routing Patterns](https://docs.redpanda.com/connect/cookbooks/message_routing/) cookbook.