Documentation
Everything for firn, the durable event broker — written for people who run and integrate it, not for a marketing department. Pages are generated from the same repository (docs/ on GitHub) that ships the code.
Quickstart
Fail-closed first boot, bootstrap token, mint key, produce + fetch, queue pull/ack. Five minutes, one machine.
OperatorInstallation
Release tarballs (verify with SHA256SUMS + SLSA attestation), from-source builds, TLS, backups, single-node and 3-node cluster layout.
OperatorConfiguration reference
Every flag with defaults: listeners, retention, segment sizing, flush windows, cluster mode, audit budget, security model modes.
DeveloperAPI reference
HTTP admin surface + gRPC FirnService: topics, produce, fetch, groups, queues, keys, sessions, federation. Auth rules and full error tables.
firn-cli
Command ↔ API map: create topics, produce/fetch, groups, DLQ list/redrive, API keys, federation peers, mesh CA.
InternalsArchitecture
The system at a glance, plane-by-plane component catalog, six numbered interaction flows (Mermaid), internal topics, four topologies.
SREMetrics & SRE
Prometheus catalog — produce/fetch, fsync, flush-window batches, block seal/commit/push, lease grants/renewals, DLQ depth, federation lag — plus alert ideas.
SecuritySecurity model
Threat model, transport/authn/authz/rate-limit/audit layers, bootstrap flow, mesh mTLS, artifact verification (SLSA + cosign).
HonestyComparison matrix
Self-hosted and managed brokers compared row by row — what firn wins, what it loses, what would change the verdict.
HistoryRelease notes
v0.1.0 → v0.6.0. What shipped, how releases are cut (CI gates, SBOM, grype, SLSA provenance, cosign), how to verify.
Six-minute orientation
1. A topic is an append-only log split into partitions; each record gets a monotonically increasing offset. Fetch is by (topic, partition, offset). 2. Pick a mode at creation: "stream" (replay freely, consume with groups) or "queue" (pull + ack, redelivery, DLQ). Same storage engine both ways. 3. Auth is fail-closed: no keys ⇒ /healthz only. The first boot prints a one-time BOOTSTRAP TOKEN; POST /apikeys with it mints the first (admin) key. 4. fsync per group-commit window by default (-flush-window=2ms); -flush-window=0 opts into per-append fsync (documented RPO trade-off, ADR-014). 5. Single node by default. 3-node with -node-id/-peers for HA (quorum, leases). 6. Audit (__audit) records every admin mutation and authz refusal, always.
Ports & listeners
| Listener | Default | Serves | Auth |
|---|---|---|---|
| HTTP admin | :9460 | /healthz, /metrics, admin API, /ui/ | Bearer (except /healthz) |
| Client gRPC | :9461 | FirnService (produce/fetch/groups/queue/metadata) | Bearer + role |
| Mesh gRPC | :9471 (grpc+10) | ReplicaService, QuorumService, FederationService | mesh mTLS (+ federation key on FederationService) |
Source of truth for everything on this site is the repository: github.com/rahulkj/firn/tree/main/docs.