NATS.Client.JetStream 2.0.0-beta.0

Prefix Reserved
This is a prerelease version of NATS.Client.JetStream.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NATS.Client.JetStream --version 2.0.0-beta.0
                    
NuGet\Install-Package NATS.Client.JetStream -Version 2.0.0-beta.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="NATS.Client.JetStream" Version="2.0.0-beta.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NATS.Client.JetStream" Version="2.0.0-beta.0" />
                    
Directory.Packages.props
<PackageReference Include="NATS.Client.JetStream" />
                    
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 NATS.Client.JetStream --version 2.0.0-beta.0
                    
#r "nuget: NATS.Client.JetStream, 2.0.0-beta.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 NATS.Client.JetStream@2.0.0-beta.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=NATS.Client.JetStream&version=2.0.0-beta.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NATS.Client.JetStream&version=2.0.0-beta.0&prerelease
                    
Install as a Cake Tool

NATS.NET V2

NATS.NET V2 is a NATS client for the modern .NET.

Preview

The NATS.NET V2 client is in preview and not recommended for production use yet. Codebase is still under development and we implemented majority of the NATS APIs including Core NATS, most of JetStream features, as well as main features of Object Store, Key/Value Store and Services.

Please test and provide feedback:

Thank you to our contributors so far. We feel we are growing slowly as a community and we appreciate your help supporting and developing NATS .NET V2 project.

Documentation

Check out the documentation for guides and examples.

Additionally Check out NATS by example - An evolving collection of runnable, cross-client reference examples for NATS.

NATS.NET V2 Goals

  • Only support Async I/O (async/await)
  • Target latest .NET LTS Release (currently .NET 6.0)

Packages

Contributing

  • Run dotnet format at root directory of project in order to clear warnings that can be auto-formatted

Attribution

This library is based on the excellent work in Cysharp/AlterNats

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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 (9)

Showing the top 5 NuGet packages that depend on NATS.Client.JetStream:

Package Downloads
NATS.Client.KeyValueStore

JetStream Key/Value Store support for NATS.Client.

NATS.Client.ObjectStore

JetStream Object Store support for NATS.Client.

NATS.Net

NATS client for modern .NET

PhoenixToolkits.MessageQueue.Nats

Package Description

Core.ServiceMesh

.NET nats based services mesh and streams

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.7.0-preview.1 26 7/18/2025
2.6.4 793 7/16/2025
2.6.3 10,261 6/30/2025
2.6.2-preview.1 464 5/24/2025
2.6.1 141,177 5/13/2025
2.6.0 41,895 4/25/2025
2.6.0-preview.5 160 4/24/2025
2.6.0-preview.4 259 4/9/2025
2.6.0-preview.3 600 3/12/2025
2.6.0-preview.2 164 2/28/2025
2.6.0-preview.1 93 2/27/2025
2.5.16 24,807 4/16/2025
2.5.15 12,366 4/10/2025
2.5.14 1,087 4/9/2025
2.5.12 39,911 3/21/2025
2.5.11 49,044 3/12/2025
2.5.10 6,939 3/12/2025
2.5.10-preview.1 189 3/7/2025
2.5.9 42,456 2/24/2025
2.5.8 52,513 2/11/2025
2.5.8-preview.1 119 1/29/2025
2.5.7 44,040 1/27/2025
2.5.6 50,684 1/13/2025
2.5.5 254,734 12/10/2024 2.5.5 is deprecated because it has critical bugs.
2.5.4 95,781 11/13/2024
2.5.3 59,822 11/5/2024
2.5.2 87,118 10/22/2024
2.5.1 114,466 10/17/2024
2.5.0 34,362 10/9/2024
2.5.0-preview.2 95 10/8/2024
2.5.0-preview.1 174 10/1/2024
2.4.0 49,727 9/17/2024
2.4.0-preview.3 112 9/11/2024
2.4.0-preview.2 133 8/23/2024
2.4.0-preview.1 12,316 8/5/2024
2.3.3 232,003 8/2/2024
2.3.3-preview.4 205 7/26/2024
2.3.3-preview.3 135 7/25/2024
2.3.3-preview.2 91 7/24/2024
2.3.3-preview.1 303 7/18/2024
2.3.2 75,778 7/10/2024
2.3.1 11,058 7/9/2024
2.3.1-preview.2 96 7/8/2024
2.3.1-preview.1 103 7/6/2024
2.3.0 55,129 7/3/2024
2.3.0-preview.1 169 6/24/2024
2.2.3 65,744 6/11/2024
2.2.2 27,891 5/23/2024
2.2.1 120,758 4/17/2024
2.2.0 25,000 4/4/2024
2.1.4 20,486 3/19/2024
2.1.3 5,444 3/12/2024
2.1.2 36,842 2/27/2024
2.1.1 6,377 2/20/2024
2.1.0 15,991 2/10/2024
2.1.0-preview.7 112 2/8/2024
2.1.0-preview.6 125 2/2/2024
2.1.0-preview.5 1,359 1/25/2024
2.1.0-preview.4 93 1/23/2024
2.1.0-preview.3 13,476 1/18/2024
2.1.0-preview.2 382 1/12/2024
2.1.0-preview.1 98 1/11/2024
2.0.3 88,796 1/5/2024
2.0.3-preview.1 644 12/22/2023
2.0.2 24,195 12/15/2023
2.0.2-preview.2 115 12/12/2023
2.0.2-preview.1 1,413 12/6/2023
2.0.1 17,457 11/29/2023
2.0.0 2,003 11/23/2023
2.0.0-rc.2 838 11/21/2023
2.0.0-rc.1 154 11/17/2023
2.0.0-beta.3 98 11/16/2023
2.0.0-beta.2 5,590 11/13/2023
2.0.0-beta.1 650 11/7/2023
2.0.0-beta.0 429 11/7/2023
2.0.0-alpha.7 482 10/27/2023
2.0.0-alpha.6 126 10/25/2023
2.0.0-alpha.5 106 10/20/2023
2.0.0-alpha.4 137 10/12/2023
2.0.0-alpha.3 151 9/13/2023
2.0.0-alpha.2 123 9/7/2023