Wallaby 0.7.0

dotnet add package Wallaby --version 0.7.0
                    
NuGet\Install-Package Wallaby -Version 0.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wallaby" Version="0.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wallaby" Version="0.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Wallaby" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wallaby --version 0.7.0
                    
#r "nuget: Wallaby, 0.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Wallaby@0.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Wallaby&version=0.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Wallaby&version=0.7.0
                    
Install as a Cake Tool

Wallaby

Postgres Change Data Capture for .NET, driven by your EF Core model.

Wallaby streams row changes from Postgres logical replication, materializes them into your mapped EF Core entities, lets you transform/enrich them, and routes the resulting documents to pluggable destinations (sinks). It self-configures the publication and replication slot from your model, supports backfill operations, and is cluster-safe via leader election.

A Meilisearch sink is supported out of the box. Contributions for additional sinks is welcome.

Packages

Project Purpose
Wallably Core package.
Wallably.Sinks.Meilisearch Meilisearch destination sink.

Quick start

builder.Services.AddDbContextFactory<AppDbContext>(o => o.UseNpgsql(conn));

builder.Services.AddWallaby(cdc =>
{
    cdc.UseContext<AppDbContext>()
       .UseConnectionString(conn)
       .ConfigureOptions(o => { o.SlotName = "app_cdc"; o.PublicationName = "app_cdc_pub"; })
       .AddMeilisearchSink("meili", m => { m.Host = "http://localhost:7700"; m.ApiKey = key; })

       // Mapping = routing only. The transform does the data shaping.
       .Map<Product>()
            .ToSink("meili", destination: "products")
            .WithBackfillVersion("v1")           // bump to force a reindex/backfill
            .UsingTransform((db, changes, ct) =>
            {
                var docs = new Dictionary<DocumentKey, CdcDocument?>();
                foreach (var c in changes)
                    docs[c.Key] = new CdcDocument { ["name"] = c.Entity!.Name };
                return Task.FromResult<IReadOnlyDictionary<DocumentKey, CdcDocument?>>(docs);
            });
});

Tests

The test suite requires docker to run and can be executed via .\build.ps1 Test

All test projects use TUnit; shared fixtures (e.g. the Postgres container) live in tests/Wallaby.TestInfrastructure.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Wallaby:

Package Downloads
Wallaby.Sinks.Meilisearch

Meilisearch destination/sink for Wallaby: keep a Meilisearch index in sync with Postgres changes.

Wallaby.AspNetCore.HealthChecks

ASP.NET Core health checks for Wallaby: role-aware liveness and replication readiness probes for Postgres CDC.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 0 6/3/2026
0.6.0 0 6/3/2026
0.5.0 0 6/3/2026
0.4.0 0 6/3/2026
0.3.0 0 6/3/2026
0.2.0 41 6/2/2026
0.1.0 42 6/2/2026