# YAML equivalent of `faucet-stream/examples/webhook_to_http.rs`.
# HTTP receiver → HTTP forwarder with Bearer auth.
version: 1
name: webhook_to_http
pipeline:
source:
type: webhook
config:
listen_addr: 0.0.0.0:8080
path: /webhook
max_payloads: 10000
timeout_secs: 60
sink:
type: http
config:
url: https://downstream.example.com/ingest
method: POST
auth:
type: bearer
config:
token: ${env:INGEST_TOKEN}
batch_mode:
type: Individual
max_retries: 3
concurrency: 16