JobMaster.NatsJetStream
0.0.5-alpha
Prefix Reserved
dotnet add package JobMaster.NatsJetStream --version 0.0.5-alpha
NuGet\Install-Package JobMaster.NatsJetStream -Version 0.0.5-alpha
<PackageReference Include="JobMaster.NatsJetStream" Version="0.0.5-alpha" />
<PackageVersion Include="JobMaster.NatsJetStream" Version="0.0.5-alpha" />
<PackageReference Include="JobMaster.NatsJetStream" />
paket add JobMaster.NatsJetStream --version 0.0.5-alpha
#r "nuget: JobMaster.NatsJetStream, 0.0.5-alpha"
#:package JobMaster.NatsJetStream@0.0.5-alpha
#addin nuget:?package=JobMaster.NatsJetStream&version=0.0.5-alpha&prerelease
#tool nuget:?package=JobMaster.NatsJetStream&version=0.0.5-alpha&prerelease
Experimental Alpha Release
This package is in an early stage and subject to significant changes before 1.0. Features and APIs may evolve, and stability is not guaranteed. Not recommended for production environments.
JobMaster.NatsJetStream
NATS JetStream transport provider for JobMaster .Net.
This package provides the NATS JetStream implementation for the JobMaster .Net engine's Agent (Transport) layer only.
Note: NATS JetStream can only be used as a transport layer. You must use a database provider (PostgreSQL, SQL Server, or MySQL) for the Master (Coordination) layer.
📦 Installation
Install the package via the .NET CLI:
dotnet add package JobMaster
dotnet add package JobMaster.NatsJetStream
🚀 Getting Started
To use NATS JetStream as your transport backend, you need to configure both a database for the Master and NATS JetStream for the Agent.
Configuration Example
builder.Services.AddJobMasterCluster(config =>
{
// Master MUST use a database provider (Postgres, SQL Server, or MySQL)
config.ClusterId("Production-Cluster")
.UsePostgresForMaster("Your_Database_Connection_String");
// Agent can use NATS JetStream for high-performance message transport
config.AddAgentConnectionConfig("NATS-Transport")
.UseNatsJetStreamForAgent("nats://localhost:4222");
// Attach a worker to the NATS transport
config.AddWorker()
.AgentConnName("NATS-Transport");
});
Part 4: Features
🛠 Features
- High-Performance Messaging: Leverages NATS JetStream's ultra-low latency message delivery for rapid job distribution.
- Stream Persistence: Jobs are persisted in JetStream streams, providing durability and replay capabilities.
- Scalable Transport: Ideal for high-throughput scenarios where jobs need to be distributed quickly across many workers.
- Consumer Groups: Supports NATS consumer groups for load balancing job consumption across multiple worker instances.
Main Project: JobMaster .Net
License: MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 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 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JobMaster (>= 0.0.5-alpha)
- NATS.Client.JetStream (>= 2.7.0)
- Nito.AsyncEx.Context (>= 5.1.2)
-
net8.0
- JobMaster (>= 0.0.5-alpha)
- NATS.Client.JetStream (>= 2.7.0)
- Nito.AsyncEx.Context (>= 5.1.2)
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 |
|---|---|---|
| 0.0.5-alpha | 33 | 2/1/2026 |
| 0.0.4-alpha | 36 | 1/29/2026 |