The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.
Follows the import procedure in README.md.
source/ the originating repository verbatim — 78 documents, 28 SVGs,
8 manifests, plus .source-revision recording the commit
final/ the SSOT
document.md 729 lines written from the 29 experiment documents, not
concatenated: what was predicted, what was measured, and
where the measurement itself was wrong
evidence/raw 125 outputs, flattened to <experiment>__<file> because
the originals collided (01-baseline.txt appeared three
times) and the audit only globs the top level
evidence/meta one per raw file; command and exitCode are null and the
README says why rather than inventing them
evidence/browser 22 captures
assets/ three diagrams through techviz
.techviz/ their VizSpecs
A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.
Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.
verify-pipeline.py passes. audit-records.py reports no issues.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
46 lines
3.1 KiB
Plaintext
46 lines
3.1 KiB
Plaintext
# evidence 244 — messaging-fault-scenarios-vs-evidence
|
|
# revision: a24ece9cf797f7ea647e33bf846b115208ed1ba5
|
|
# cwd: /shared/codebase/clean-architecture-backend-template/src/messaging
|
|
# command: grep -n "public static final NetworkFaultScenario" -A4 messaging-testkit/src/main/java/dev/caskeleton/messaging/testkit/NetworkFaultScenario.java; echo; echo ---MANIFEST---; cat messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl; echo; echo ---SCENARIO_COUNT---; grep -c "public static final NetworkFaultScenario" messaging-testkit/src/main/java/dev/caskeleton/messaging/testkit/NetworkFaultScenario.java; echo ---MANIFEST_LINES---; grep -c . messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl
|
|
# ---- raw output ----
|
|
66: public static final NetworkFaultScenario CONNECTION_REFUSED =
|
|
67- new NetworkFaultScenario(
|
|
68- "connection-refused",
|
|
69- Phase.BEFORE_TRANSMISSION,
|
|
70- Expectation.REJECTED,
|
|
--
|
|
76: public static final NetworkFaultScenario CONNECTION_CUT_AFTER_WRITE =
|
|
77- new NetworkFaultScenario(
|
|
78- "connection-cut-after-write",
|
|
79- Phase.AFTER_TRANSMISSION,
|
|
80- Expectation.AMBIGUOUS,
|
|
--
|
|
86: public static final NetworkFaultScenario CONFIRM_TIMEOUT =
|
|
87- new NetworkFaultScenario(
|
|
88- "confirm-timeout",
|
|
89- Phase.AFTER_TRANSMISSION,
|
|
90- Expectation.AMBIGUOUS,
|
|
--
|
|
95: public static final NetworkFaultScenario SETTLEMENT_LOST =
|
|
96- new NetworkFaultScenario(
|
|
97- "settlement-lost",
|
|
98- Phase.DURING_SETTLEMENT,
|
|
99- Expectation.REDELIVERED,
|
|
--
|
|
105: public static final NetworkFaultScenario HIGH_LATENCY =
|
|
106- new NetworkFaultScenario(
|
|
107- "high-latency",
|
|
108- Phase.AFTER_TRANSMISSION,
|
|
109- Expectation.AMBIGUOUS,
|
|
|
|
---MANIFEST---
|
|
{"adapter":"messaging-kafka","brokerImage":"apache/kafka:4.1.0","scenario":"confirm-timeout","testId":"KafkaBrokerCertificationIT#aConfirmThatNeverArrivesIsReportedAsAmbiguousAndTheRecordIsThere","outcome":"AMBIGUOUS","gitCommit":"e98b56eb03ecab588c21fd1e7dbcaa493c1d8645","observedAt":"2026-08-19T14:21:30.826332993Z"}
|
|
{"adapter":"messaging-kafka","brokerImage":"apache/kafka:4.1.0","scenario":"connection-cut-after-write","testId":"KafkaBrokerCertificationIT#aConnectionCutAfterTheWriteIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"e98b56eb03ecab588c21fd1e7dbcaa493c1d8645","observedAt":"2026-08-19T14:21:34.906464945Z"}
|
|
{"adapter":"messaging-kafka","brokerImage":"apache/kafka:4.1.0","scenario":"high-latency","testId":"KafkaBrokerCertificationIT#latencyBeyondThePublishDeadlineIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"e98b56eb03ecab588c21fd1e7dbcaa493c1d8645","observedAt":"2026-08-19T14:21:21.870705263Z"}
|
|
{"adapter":"messaging-kafka","brokerImage":"apache/kafka:4.1.0","scenario":"settlement-lost","testId":"KafkaBrokerCertificationIT#aDeliveryLostBeforeSettlementIsRedelivered","outcome":"REDELIVERED","gitCommit":"e98b56eb03ecab588c21fd1e7dbcaa493c1d8645","observedAt":"2026-08-19T14:21:42.058283607Z"}
|
|
|
|
---SCENARIO_COUNT---
|
|
5
|
|
---MANIFEST_LINES---
|
|
4
|