Failure Lab
What happens when it breaks?
Borrow an isolated bench for five minutes. Break its sensor or connection, then watch the real gateway report what happened.
Lontra Creek is fictional. A working Lab uses real Kafka, a real gateway, and your browser SDK. Failure actions affect only your leased bench.
Connections and clients
What happens between Kafka, the gateway, and browsers: a cut relay, a client that can't keep up, a restart. Fouled sensor bridges to the other track.
Linked scenario
Flash flood takes the relay
Cut only this bench's Kafka path. Views go stale while your connection stays up, then recover after restoration.
Runs on a leased bench with the controls below, when this backend has benches.
Linked scenario
Laptop on a satellite link
A separate client stops acknowledging frames. Its receipt timeout disconnects it; your own view keeps flowing.
Runs on a leased bench with the controls below, when this backend has benches.
Linked scenario
Gateway restart
Restart your gateway. The SDK reconnects and takes a fresh snapshot; intermediate states are not replayed.
Runs on a leased bench with the controls below, when this backend has benches.
Linked scenario
Fouled sensor: fix and retry
The default pause still works: restore calibration, retry the exact held record, then watch a fresh synchronization. It is an ordinary mapper exception, not quarantine.
Runs on a leased bench with the Fouled sensor controls below, when this backend has benches.
Source failures
What happens when a record itself is bad: pause and retry, quarantine, guarded continuation, evaluation and reprocessing, and cases where the safe answer is to hold. Each story has one implementation; Fouled sensor appears in both tracks with one set of controls.
Every new exercise stays unavailable until this backend reports that it can run it.
Linked scenario
Fouled sensor: fix and retry
The default pause still works: restore calibration, retry the exact held record, then watch a fresh synchronization. It is an ordinary mapper exception, not quarantine.
Runs on a leased bench with the Fouled sensor controls below, when this backend has benches.
Linked scenario
Garbled reading: preserve and hold
Real invalid JSON is captured in quarantine and the source does not advance. Saving malformed bytes doesn't make them repairable.
Unavailable until this backend reports support for it.
Linked scenario
Bad projection: recover from authoritative state
Valid source JSON produces an invalid public payload. Quarantine succeeds, a guard first refuses to continue, and verified snapshot coverage later permits it.
Unavailable until this backend reports support for it.
Linked scenario
Inspect the old reading: evaluate, then reprocess
A dry-run evaluation has no delivery effect; an exact approval permits gateway-local reprocessing; a newer snapshot can correctly supersede the old state.
Unavailable until this backend reports support for it.
Linked scenario
Conflicting readings: stopping is correct
An equal revision with conflicting state stays held. There is no force-skip.
Unavailable until this backend reports support for it.
Linked scenario
Calibration lookup blip
Only a trusted, explicitly transient mapper error gets a bounded retry. Success and exhausted retries are different outcomes.
Unavailable until this backend reports support for it.
Linked scenario
Too many bad readings
Five distinct automatic continuations are permitted in the configured window; the next incident holds. Duplicate evidence doesn't count as another incident.
Unavailable until this backend reports support for it.
Linked scenario
Recovery across restart and a new subscription
The same journal, consumer group, and source generation keep recovery obligations across a restart; a new view can't evade the barrier.
Unavailable until this backend reports support for it.
Checking the Lab…
Your bench
Not leased.
LC-03 subscription: idle
- Stage
- —
- Flow
- —
- Revision
- —
Bench controls
Current incident
No incident to show. This panel shows a quarantine incident only when the backend reports one for your leased bench. It never shows sample data.
Until this backend reports that it supports incidents, this panel stays empty.
Fouled sensor's pause is a held source, not a quarantine incident: follow it in Your bench and the gateway feed.
:
Application view
What your page's SDK reports.
- Connection
- —
- LC-03 subscription
- —
- Last observed
- —
Record disposition
What the backend observed.
- Failure
- Policy
- Evidence
- Source
- Recovery
- Evaluation
- Reprocessing
- Next supported action
Source coordinates and fingerprints
Observed steps
Oldest first. Missing steps stay missing.
Redacted gateway feed
Actual actions, source states, and traces from your current lease. No payloads, credentials, or other visitors' data.
The scenario view shows what each scenario turns on: your actions, failed or rejected traces, source state changes, the LC-03 record a fouled sensor stopped on (topic, partition, and offset), and trace gaps. A record retried after Resume is marked Retried. “Mapper returned” means the bench's map handler finished for that record; it isn't proof that the gateway delivered it or committed its offset.