K2 Coffee
K2 control room · demo

One order. Four independent services. One starts late.

01 · Order station producer

What can we get you?

1
Producer receipts K2 confirmed
  • Orders appear here once K2 confirms the write.
produce
02 · K2 stream append-only

The order stream

no stream yet

0 events
retained
Retained history · consuming never removes an event

The stream is empty.

Place an order → it lands here as a retained K2 record.

Subscriptions · read position same events, independent progress
kitchen not subscribed yet —
analytics not subscribed yet —
loyalty not subscribed yet —
inventory not subscribed yet —

Positions are app-derived from confirmed produces and processed events, not a native K2 lag metric.

subscribe

Kitchen

What do baristas make next?

Not running
processed 0 outstanding 0

Tickets slide in as orders are consumed.

D1 · current state

Sales analytics

How is lunch going?

Not running
processed 0 outstanding 0
$0.00
0 orders · 0 cups · avg $0.00
D1 · current state

Loyalty

Points, once per order. Exactly.

Not running
processed 0 outstanding 0
0pts
0 members · 10 pts per drink
D1 · current state
04 · A service that starts late

“How much oat milk have we used since opening?”

New subscription · start_at: earliest · no producer changes