Tutorials
Build a durable order pipeline
Build a complete producer, route, worker, retry policy, and replay workflow for an order event.
Model the event
Keep the event focused on a completed business fact. Avoid embedding commands or mutable workflow state in the payload.
fixtures/order-accepted.json
{
"type": "order.accepted",
"id": "evt_2F9Q",
"payload": {
"orderId": "ord_7K2M",
"region": "north"
}
}Configure delivery
arcwell.streams.yml
streams:
northline-fulfillment:
lease: 30s
retries:
attempts: 6
backoff: exponential
maximum: 15mReplay a failure
shell
arcctl quarantine list --stream northline-fulfillment
arcctl replay evt_2F9Q --reason "handler fix deployed"