Packages

Framework-agnostic Elixir CDC consumer for Postgres logical replication (pgoutput) with zero-loss delivery to a pluggable sink — exactly-once for transactional sinks, at-least-once (duplicate-bounded) for non-transactional sinks.

Current section

Files

Jump to
replicant docs adr README.md
Raw

docs/adr/README.md

<!--
SPDX-FileCopyrightText: © 2026 BaseLabs Holdings LLC

SPDX-License-Identifier: MIT
-->

# Architecture Decision Records

Read these records to understand the decisions behind Replicant's contracts,
architecture and security boundaries. Each numbered file records the context,
the decision and its consequences using the
[Nygard ADR format](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions.html).

| ADR | Title |
|-----|-------|
| [0001](0001-logical-decoding-messages-delivery-guarantees.md) | Logical-decoding message delivery guarantees (transactional vs non-transactional) |
| [0002](0002-multi-publication-per-pipeline.md) | Multi-publication per pipeline (discovery union + fail-closed existence check) |
| [0003](0003-value-free-error-boundary.md) | The value-free error, log, and telemetry boundary (Critical Rule 1) |
| [0004](0004-commit-lsn-transaction-watermark.md) | The commit-LSN transaction-granularity watermark (Critical Rule 3) |
| [0005](0005-spill-is-ephemeral-scratch.md) | Spill is ephemeral without fsync scratch, not a durable WAL |
| [0006](0006-fail-closed-supervision.md) | Fail-closed supervision, `:one_for_all` Pipeline + `:temporary` child |
| [0007](0007-actual-replication-session-identity.md) | Actual replication-session identity precedes checkpoint lookup |
| [0008](0008-casting-lenient-value-preserving-fallback.md) | Casting contract, lenient value-preserving fallback for locale-dependent and unrepresentable types |
| [0009](0009-pglogical-wal2json-decoders.md) | Decoders for the pglogical and wal2json output plugins (PostgreSQL 9.6 to 14) |
| [0010](0010-postgresql-server-support.md) | PostgreSQL server support |