Cold chain · laboratory
A freezer door stays open.
The sensor sends nothing more.
FZ-17 holds patient-derived cell lines.
Fictional laboratory · synthetic data
The problem
The information exists, in two systems.
- Kafka receives the door state: FZ-17, OPEN.
- A CSV file gives the laboratory, the contents and the owner.
- Neither one reports a door left open.
Nothing is changed
The sensor, Kafka and the file stay in place.
- The Kafka producer does not change.
- The CSV file stays where it is.
- No application to build.
What had to be written
dormancy:
after: 1mThis line sets the delay: 1 minute.
The whole scenario fits in 4 declaration files, 83 lines.
What the team receives
The decision names the laboratory and the owner.
FZ-17 (Cryobiology Lab): door OPEN since 2026-10-28. Owner: Dr. Lina Moreau
Real message, replay of 26 October 2026.
Who sees what
The scope bounds what is read.
scope: cold-chain- Every file declares the scope cold-chain.
- Keycloak grants the role scope:cold-chain.
- Other users see neither this data nor these decisions.
The limit
lumnik reports a silence, not an open door.
- The last state received is OPEN.
- The CLOSED message may have been lost before Kafka.
- The decision says what lumnik observed.
Try it
The scenario replays end to end.
Kafka, CSV, entity, workflow: every step is published with its output.