Blumchen - Push-based Outbox for PostgreSQL

July 3, 2024 · View on GitHub

Outbox Pattern with CDC and .NET based on Postgres logical replication with Npgsql integration.

Read more details in:

Features:

  • Publication filter is enabled to trigger only INSERTed rows;
  • AOT compliant compilation enforced by design

Main logic is placed in EventsSubscription.

Running source code locally

  1. Start Postgres with WAL enabled from Docker image.
docker-compose up
  1. Run(order doesn't matter) Publisher and Subscriber apps, under 'demo' folder, from vs-studio, and follow Publisher instructions.

Testing (against default docker instance)

Run tests

dotnet test

Postgres Logical Replication

WAL

Logical Replication

General Introduction

Other

Queue

Performance

Snapshots

Ordering

Partitioning

Locks

Outbox implementations