Skip to content

PoC of doing Outbox Pattern with CDC and .NET

License

Notifications You must be signed in to change notification settings

lsfera/Postgresql.Outbox

Repository files navigation

Blumchen - Push-based Outbox for PostgreSQL

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 or SubscriberWorker) apps, under 'demo' folder, from vs-studio, and follow Publisher instructions.

Testing (against default docker instance)

Run tests

dotnet test

Links

Postgres Logical Replication

WAL

Logical Replication

General Introduction

Other

Queue

Performance

Snapshots

Ordering

Partitioning

Locks

Outbox implementations

About

PoC of doing Outbox Pattern with CDC and .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%