Justin Palmer

Event processing

Follow a synthetic order from receipt to delivery. Try an invalid amount or repeated order to see which checks change the outcome.

About the simulation

The simulation checks each incoming order, converts valid data to a common format, and sets aside records that fail validation.

All processing runs in your browser using synthetic orders.

Choose a payload scenario

Choose a payload scenario to run the pipeline.

Received0
Delivered0
Dead-lettered0
Duplicates skipped0
Interactive simulation

01 / RECEIVE

Incoming order

An event carries an ID and a typed payload. Choose a scenario, then inspect any stage.

No event selected

INPUT / JSON
{ "type": "order.created", "totalCents": 12900, "currency": "USD" }

Event receipts

No events processed

Select an event to inspect its input, validation, canonical output, and delivery result.

Run a scenario to explore its event receipts.

0 events

Dead-letter collection

In-memory simulation

No rejected events. Contract violations will appear here with their validation reasons.

How the simulation works

Events require a nonempty ID, the order.created type, USD currency, and a nonnegative safe integer amount in cents. Accepted events are transformed into a canonical analytics payload.

The first valid event for each ID is delivered once per run. Later valid deliveries with that ID are skipped. Invalid events never reserve an ID. The burst fixture includes 80 deliverable events, 10 contract violations, and 10 repeated deliveries.

Payloads, routing results, and rejected events remain in browser memory. Delivery destinations and dead-letter handling are simulated. Each scenario starts a new run. Reset clears it.

The batch demonstrates how to reconcile outcomes. Server throughput, network queues, and storage are outside its scope.

Explore how processed events reach a report