Pulse.Mqtt.Dataflow 2.29.0

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

Pulse.Mqtt.Dataflow

Source blocks for routing Pulse MQTT messages into System.Threading.Tasks.Dataflow pipelines.

Install

dotnet add package Pulse.Mqtt.Dataflow

Source block options

await using var source = client.ToRouteSourceBlock(
    MqttRouteTemplate.Parse("telemetry/{deviceId}"),
    sourceOptions: new MqttDataflowSourceOptions
    {
        BoundedCapacity = 128,
    },
    cancellationToken: cancellationToken);

Route into a worker block

var worker = new ActionBlock<MqttRoutedMessage>(
    message => ProcessAsync(message, cancellationToken),
    new ExecutionDataflowBlockOptions
    {
        BoundedCapacity = 64,
        MaxDegreeOfParallelism = 4,
    });

using var link = source.LinkTo(
    worker,
    new DataflowLinkOptions { PropagateCompletion = true });

Manual acknowledgement source

Use acknowledged route source blocks when application work decides when the broker is acknowledged.

await using var source = client.ToAcknowledgedRouteSourceBlock(
    MqttRouteTemplate.Parse("orders/{id}"),
    cancellationToken: cancellationToken);

var worker = new ActionBlock<MqttAcknowledgedRoutedMessage>(async routed =>
{
    await PersistAsync(routed.Message, cancellationToken);
    await routed.AcknowledgeAsync(cancellationToken);
});

Source blocks are local adapters. They do not send broker subscriptions by themselves unless the helper explicitly says it owns the subscription.

Full docs: https://araxis.github.io/pulse-mqtt/packages/dataflow

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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
2.29.0 167 7/9/2026
2.29.0-preview.219 83 7/9/2026
2.29.0-preview.218 82 7/9/2026
2.29.0-preview.217 72 7/6/2026
2.28.0 116 7/6/2026
2.28.0-preview.215 71 7/6/2026
2.28.0-preview.214 73 7/6/2026
2.28.0-preview.213 80 7/6/2026
2.28.0-preview.212 79 7/6/2026
2.28.0-preview.211 79 7/4/2026
2.28.0-preview.210 78 7/4/2026
2.28.0-preview.209 77 7/4/2026
2.28.0-preview.208 85 7/4/2026
2.27.0 121 7/4/2026
2.27.0-preview.206 81 7/4/2026
2.27.0-preview.205 81 7/4/2026
2.27.0-preview.204 75 7/3/2026
2.27.0-preview.203 70 7/3/2026
2.27.0-preview.202 79 7/3/2026
2.27.0-preview.201 71 7/3/2026
Loading failed