Pulse.Mqtt.Resilience.Polly 2.29.0

dotnet add package Pulse.Mqtt.Resilience.Polly --version 2.29.0
                    
NuGet\Install-Package Pulse.Mqtt.Resilience.Polly -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.Resilience.Polly" 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.Resilience.Polly" Version="2.29.0" />
                    
Directory.Packages.props
<PackageReference Include="Pulse.Mqtt.Resilience.Polly" />
                    
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.Resilience.Polly --version 2.29.0
                    
#r "nuget: Pulse.Mqtt.Resilience.Polly, 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.Resilience.Polly@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.Resilience.Polly&version=2.29.0
                    
Install as a Cake Addin
#tool nuget:?package=Pulse.Mqtt.Resilience.Polly&version=2.29.0
                    
Install as a Cake Tool

Pulse.Mqtt.Resilience.Polly

Reconnect strategy integration for applications that want Pulse MQTT reconnect timing to be driven by a Polly v8 ResiliencePipeline.

Install

dotnet add package Pulse.Mqtt.Resilience.Polly

Build a reconnect pipeline

using Polly;
using Polly.Retry;
using Pulse.Mqtt.Resilience.Polly;

var pipeline = new ResiliencePipelineBuilder()
    .AddRetry(new RetryStrategyOptions
    {
        BackoffType = DelayBackoffType.Exponential,
        UseJitter = true,
        MaxRetryAttempts = int.MaxValue,
        Delay = TimeSpan.FromMilliseconds(500),
        MaxDelay = TimeSpan.FromSeconds(30),
    })
    .Build();

Register it

builder.Services
    .AddPulseMqttClient("telemetry", configure)
    .UseReconnectStrategy(_ => new PollyReconnectStrategy(pipeline));

The resilient client still owns connection state, re-subscription, offline queue flush, publish redelivery, and terminal fault handling. This package only replaces reconnect timing.

Operational notes

  • Include delay and jitter so retry loops do not hammer the broker.
  • Keep cancellation flowing through the pipeline so host shutdown is prompt.
  • Use IReconnectDecision for retry-vs-fault classification; do not hide terminal authentication or identity failures behind a retry policy.

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

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 266 7/9/2026
2.29.0-preview.219 69 7/9/2026
2.29.0-preview.218 63 7/9/2026
2.29.0-preview.217 62 7/6/2026
2.28.0 107 7/6/2026
2.28.0-preview.215 62 7/6/2026
2.28.0-preview.214 54 7/6/2026
2.28.0-preview.213 67 7/6/2026
2.28.0-preview.212 65 7/6/2026
2.28.0-preview.211 60 7/4/2026
2.28.0-preview.210 58 7/4/2026
2.28.0-preview.209 61 7/4/2026
2.28.0-preview.208 70 7/4/2026
2.27.0 110 7/4/2026
2.27.0-preview.206 58 7/4/2026
2.27.0-preview.205 68 7/4/2026
2.27.0-preview.204 61 7/3/2026
2.27.0-preview.203 60 7/3/2026
2.27.0-preview.202 63 7/3/2026
2.27.0-preview.201 60 7/3/2026
Loading failed