Architecture Decision Record

An architecture decision record (ADR) is a short, immutable Markdown document that records one architectural decision, its context, and its consequences. In this course, accepted ADRs live in docs/adr/, and later decisions supersede earlier records instead of modifying their history.

Minimal example

text
## Status

Accepted, 2026-11-04

## Context

MySQL and Kafka do not share an atomic transaction.

## Decision

We will use a transactional outbox.

## Consequences

Order events are persisted reliably, but a relay is required.

Learn this concept

Lesson 8.9 · ADRs, postmortems and retros

Used in exercises

Exercise 8.10 · Project documentation package Exercise 8.11 · Two-minute project demo package