FlowDSL

Flow Examples

Real-world FlowDSL definitions — from minimal single-event services to multi-module pipelines with mixed transports, workflows, and schedules.

Minimal Service

beginnerhttpkafka

The smallest useful FlowDSL: one event, one HTTP action that emits it, one Kafka channel. A clean starting point for any new service.

1 event 1 action 1 channel
Loading diagram...

What Redelay generates from this

AsyncAPI
Channels, messages, and payload schemas from events and packets.
OpenAPI 3.0
HTTP paths and input/output schemas from actions with method + path.
IR Document
Canonical intermediate representation — feed into Go codegen or modspec browser.
Try it
# Export to AsyncAPI
redelayctl export --format asyncapi minimal.flowdsl.yaml

# Export to OpenAPI
redelayctl export --format openapi minimal.flowdsl.yaml

# Validate only
redelayctl validate minimal.flowdsl.yaml