MongoDbRepository.Extensions.DataMesh.Bridge 6.4.3

dotnet add package MongoDbRepository.Extensions.DataMesh.Bridge --version 6.4.3
                    
NuGet\Install-Package MongoDbRepository.Extensions.DataMesh.Bridge -Version 6.4.3
                    
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="MongoDbRepository.Extensions.DataMesh.Bridge" Version="6.4.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MongoDbRepository.Extensions.DataMesh.Bridge" Version="6.4.3" />
                    
Directory.Packages.props
<PackageReference Include="MongoDbRepository.Extensions.DataMesh.Bridge" />
                    
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 MongoDbRepository.Extensions.DataMesh.Bridge --version 6.4.3
                    
#r "nuget: MongoDbRepository.Extensions.DataMesh.Bridge, 6.4.3"
                    
#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 MongoDbRepository.Extensions.DataMesh.Bridge@6.4.3
                    
#: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=MongoDbRepository.Extensions.DataMesh.Bridge&version=6.4.3
                    
Install as a Cake Addin
#tool nuget:?package=MongoDbRepository.Extensions.DataMesh.Bridge&version=6.4.3
                    
Install as a Cake Tool

MongoDbRepository.Extensions.DataMesh.Bridge

Enables real-time, low-latency Change-Data-Capture (CDC) replication data pipelines that sync operational MongoDB transactional tables into decoupled column-oriented analytical datastores, reporting views, or search indexes (e.g., ClickHouse, Snowflake, Elastic) without degrading production database performance.

🌟 Features

  • Zero Transaction Impact: Relies entirely on out-of-band MongoDB Change Streams to tail changes asynchronously away from your main transaction engine.
  • Resilient Connection Standby: Persists resume tokens inside an ObjectIdDocument database collection checkpoint layer to guarantee change-delivery tracking survives container recycles or pod updates.
  • Auto-Provisioned Infrastructure: Integrates index providers straight into the core assembly index pipeline (AddAutomatedIndexes()) to establish unique data-mesh indexing fields automatically.

🚀 Quick Start

1. Model an Analytical Projection and Sink

Define the target reporting view model and implement the IDataMeshSink interface to push data to your analytical sink:

public record FinancialReportRow(string FacilityId, string CompanyName, decimal TotalExposure);

public class ClickHouseDataMeshSink : IDataMeshSink<FinancialReportRow>
{
    public async Task ProjectUpsertAsync(FinancialReportRow projection, CancellationToken cancellationToken)
    {
        // Execute real-time batch insert/update against ClickHouse/Data Lake cluster
    }

    public async Task ProjectDeleteAsync(string entityId, CancellationToken cancellationToken)
    {
        // Execute eviction tracking logic inside data lake table spaces
    }
}

2. Register the Bridge Engine Pipeline (Program.cs)

Map your rich corporate transactional entity into the lightweight analytical projection row using fluent LINQ selectors:

C#
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddMongoDbRepositoryCore(builder.Configuration.GetSection("MongoDb"));

// Bind a continuous CDC stream from 'CreditFacility' (transactional) into 'FinancialReportRow' (analytical)
builder.Services.AddDataMeshCdcBridge<CreditFacility, ObjectId, FinancialReportRow, ClickHouseDataMeshSink>(facility =>
    new FinancialReportRow(
        facility.Id.ToString(),
        facility.CorporateId,
        facility.ApprovedLimit
    ));

// Automatically builds structural checkpoint unique indexes across the system
builder.Services.AddAutomatedIndexes();
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.4.3 110 8/14/2026
6.4.2 99 8/7/2026
6.4.0 99 8/5/2026
6.3.2 115 8/1/2026
6.3.1 103 8/1/2026
6.3.0 109 7/24/2026
6.1.1 114 7/1/2026