Skip to content

v0.4.0 — Firn: the durable event broker (MIT-licensed)

Choose a tag to compare

@rahulkj rahulkj released this 13 Nov 22:19
· 56 commits to main since this release

Firn v0.4.0 — durable event broker: streaming + queue semantics over one append-only log. This is a breaking release: read the upgrade notes first.

Breaking changes

  • Fail-closed boot: a fresh broker with zero keys serves nothing but /healthz; one-time BOOTSTRAP TOKEN on stderr mints the first admin key, then bearer auth enforces everywhere (opt out with -dev/-allow-open-bootstrap for development).
  • Default listener ports moved off the Kafka-derived pair: :9092 → :9460 (HTTP admin), :9093 → :9461 (client gRPC), mesh :9103 → :9471 (grpc-addr+10). Pin explicitly with -http-addr/-grpc-addr/-mesh-addr to coexist. Firewall/scrape/health-check updates required.
  • /metrics and /ui/ require a viewer key by default (-metrics-auth=false to opt out).

New

  • ADR-010 federation (preview): passive one-way replication (byte-identical, sink fenced) and active-active (both-writable, re-origin, echo-filtered); selective topic/queue scoping; queue attempts mirror both ways with re-keying; firn_federation_cursor_lag_seconds metric; /ui/federation read-only view; firn federation add-peer|keys|status; cutover runbook (docs/federation-cutover.md).
  • ADR-012 architecture map published (components, interactions, failure modes; see docs/adr/012-architecture.md).
  • Federation control plane: secure peer registration, cursor persistence, client-visible federation_hwm progress.
  • Retention tunable via -segment-bytes / -block-seal-interval (whole-segment deletes only; verified end-to-end).
  • Secure-by-default mesh: internal RPCs (ReplicaService, QuorumService, FederationService) on an mTLS-only mesh listener; pre-provisioned shared CA or single-node auto-provisioning (firn mesh-ca init).

Verification: CI green (vet, tests incl. -race where supported, golangci-lint v2.15.0, build); SPDX SBOM from CI on main; grype fail-on-critical gate.

Assets: 4 tarballs (darwin/arm64, darwin/amd64, linux/amd64, linux/arm64) + SHA256SUMS. Verify with shasum -a 256 -c SHA256SUMS. Cosign signing is an offline operator step per docs/distribution.md — not in the CI pipeline by design.

Upgrade: docs/migration-v0.3-to-v0.4.md (read before restarting; includes listener-port and bootstrap changes).

MIT license; copyright 2026 rahulkj and contributors.