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
- Start Postgres with WAL enabled from Docker image.
docker-compose up
- 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
Links
Postgres Logical Replication
WAL
Logical Replication
General Introduction
Other
Queue
Performance
Snapshots
Ordering
Partitioning
Locks
Outbox implementations