# Snowbridge target configuration
> Configure Snowbridge targets including stdout, EventHub, HTTP, Kafka, Kinesis, PubSub, and SQS for stream output.
> Source: https://docs.snowplow.io/docs/api-reference/snowbridge/configuration/targets/
> Documentation index: https://docs.snowplow.io/llms.txt

**Stdout target** is the default. We also support EventHub, HTTP, Kafka, Kinese, PubSub, and SQS targets.

Stdout target doesn't have any configurable options - when configured it simply outputs the messages to stdout.

## Configuration options

Here is an example of the configuration:

```hcl
loading...
```

[View on GitHub](<&#xA;https://github.com/snowplow/snowbridge/blob/v6.3.0/assets/docs/configuration/targets/stdout-full-example.hcl&#xA;>)

If you want to use this as a [failure target](/docs/api-reference/snowbridge/concepts/failure-model/#failure-targets), then use `failure_target` instead of `target`.

## Batching

From version 5.0.0, all targets support configurable batching. Batching options are specified in a `batching {}` block inside the target's `use` block.

```hcl
target {
  use "http" {
    url = "https://acme.com/x"

    batching {
      max_batch_messages     = 50
      max_batch_bytes        = 1048576
      max_message_bytes      = 1048576
      max_concurrent_batches = 5
      flush_period_millis    = 500
    }
  }
}
```

Each target has its own defaults for batching options. See the individual target pages for the defaults.

| Batching option          | Description                                                                                    |
| ------------------------ | ---------------------------------------------------------------------------------------------- |
| `max_batch_messages`     | Maximum number of messages in a single batch sent to the target.                               |
| `max_batch_bytes`        | Maximum total byte size of a batch.                                                            |
| `max_message_bytes`      | Maximum byte size of a single message. Messages exceeding this are sent to the failure target. |
| `max_concurrent_batches` | Number of batches written concurrently (default: `5`).                                         |
| `flush_period_millis`    | Interval in milliseconds between timer-based batch flushes (default: `500`).                   |

If either of `max_batch_messages` or `max_batch_bytes` is reached before `flush_period_millis` elapses, the batch is sent immediately.
