# eulerto/wal2json

JSON output plugin for changeset extraction

Repository: https://github.com/eulerto/wal2json
Canonical: https://ross.abutalabs.com/products/wal2json
Language: C
License: BSD-3-Clause
License Family: permissive
Topics: postgres, replication, plugin, json, cdc
Last push: 2026-08-25T00:09:31+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4578, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1508, forks 168 (observed 2026-08-28T04:04:55.468849+00:00)

## What it is
wal2json is a PostgreSQL logical decoding output plugin written in C that converts write-ahead log changes (INSERT, UPDATE, DELETE) into JSON. It supports streaming via logical replication slots or a SQL API, with two output formats (one JSON object per transaction or per tuple).

## Use cases
- stream postgres changes as json for cdc
- capture database changes for event-driven pipelines
- replicate postgres data to kafka or other systems
- audit trail of row changes in postgresql
- consume logical replication slots as json

## When to choose
- you need change data capture from PostgreSQL with JSON output
- you want to feed Postgres changes into Debezium, Kafka, or ETL pipelines
- you need access to old row versions on UPDATE/DELETE via replica identity

## When to avoid
- you use a database other than PostgreSQL
- you need non-JSON output formats like Avro or Protobuf
- you run PostgreSQL older than 9.4

## Facets
- artifact type: plugin
- maturity: stable
- function: serialization, database, streaming
- domain: databases, developer-tools
- platform: windows, self-hosted
- tags: postgresql, logical-decoding, cdc, change-data-capture, replication, json, c, data-engineering, linux, macos

## Member repositories
- eulerto/wal2json (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.468849+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:32.581914+00:00, confidence not recorded.
  - readme: https://github.com/eulerto/wal2json (fetched 2026-08-28T04:04:55.468849+00:00, sha eef2cb168594)
- Data as of 2026-08-30T08:39:29.467469+00:00.
