Milvasoft.Milvaion.Sdk.Worker.Quartz
10.0.13
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Milvasoft.Milvaion.Sdk.Worker.Quartz --version 10.0.13
NuGet\Install-Package Milvasoft.Milvaion.Sdk.Worker.Quartz -Version 10.0.13
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="Milvasoft.Milvaion.Sdk.Worker.Quartz" Version="10.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Milvasoft.Milvaion.Sdk.Worker.Quartz" Version="10.0.13" />
<PackageReference Include="Milvasoft.Milvaion.Sdk.Worker.Quartz" />
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 Milvasoft.Milvaion.Sdk.Worker.Quartz --version 10.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Milvasoft.Milvaion.Sdk.Worker.Quartz, 10.0.13"
#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 Milvasoft.Milvaion.Sdk.Worker.Quartz@10.0.13
#: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=Milvasoft.Milvaion.Sdk.Worker.Quartz&version=10.0.13
#tool nuget:?package=Milvasoft.Milvaion.Sdk.Worker.Quartz&version=10.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Milvaion Quartz Integration
Milvaion Quartz Integration allows you to monitor your existing Quartz.NET jobs through Milvaion's dashboard without changing your scheduler. Keep using Quartz for scheduling while gaining Milvaion's monitoring, alerting, and metrics capabilities.
Features
- Zero-Code Job Changes - Your existing Quartz jobs work as-is
- Automatic Job Registration - Jobs are automatically registered with Milvaion when scheduled
- Real-time Monitoring - Track job executions, durations, and failures in Milvaion dashboard
- Execution Tracking - Every job execution is recorded with status, duration, and result
- Log Publishing - Publish job logs to Milvaion for real-time viewing
- Worker Heartbeats - Automatic health monitoring and status updates
- Metrics Integration - Jobs contribute to EPM, average duration, and success rate metrics
Installation
dotnet add package Milvasoft.Milvaion.Sdk.Worker.Quartz
Quick Start
1. Configure Services
using Milvasoft.Milvaion.Sdk.Worker.Quartz.Extensions;
using Quartz;
var builder = Host.CreateApplicationBuilder(args);
// Add Milvaion Quartz integration
builder.Services.AddMilvaionQuartzIntegration(builder.Configuration);
// Configure Quartz with your jobs
builder.Services.AddQuartz(q =>
{
// Enable Milvaion listeners
q.UseMilvaion(builder.Services);
// Register your jobs as usual
var jobKey = new JobKey("MyJob", "MyGroup");
q.AddJob<MyJob>(opts => opts.WithIdentity(jobKey));
q.AddTrigger(opts => opts
.ForJob(jobKey)
.WithCronSchedule("0 0 * * * ?"));
});
builder.Services.AddQuartzHostedService(q => q.WaitForJobsToComplete = true);
await builder.Build().RunAsync();
2. Configure appsettings.json
{
"Worker": {
"WorkerId": "quartz-worker-1",
"RabbitMQ": {
"Host": "localhost",
"Port": 5672,
"Username": "guest",
"Password": "guest"
},
"Redis": {
"ConnectionString": "localhost:6379"
},
"ExternalScheduler": {
"SourceName": "Quartz"
}
}
}
3. (Optional) Publish Logs from Jobs
public class MyJob(ILogPublisher logPublisher) : IJob
{
public async Task Execute(IJobExecutionContext context)
{
var correlationId = Guid.Parse(
context.MergedJobDataMap.GetString("Milvaion_CorrelationId"));
var workerId = context.MergedJobDataMap.GetString("Milvaion_WorkerId");
await logPublisher.PublishLogAsync(new JobOccurrenceLogMessage
{
CorrelationId = correlationId,
WorkerId = workerId,
Level = "Information",
Message = "Processing started...",
Timestamp = DateTime.UtcNow
});
// Your job logic here
await logPublisher.FlushAsync();
}
}
Dashboard Features
External jobs appear in Milvaion dashboard with:
- Full execution history
- Real-time logs (if published)
- Duration and success rate metrics
Documentation
For complete documentation, visit: Milvaion Documentation
License
This project is licensed under the MIT License.
| Product | Versions 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.
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Milvasoft.Milvaion.Sdk (>= 10.0.13)
- Milvasoft.Milvaion.Sdk.Worker (>= 10.0.13)
- Quartz.Extensions.DependencyInjection (>= 3.15.1)
- RabbitMQ.Client (>= 7.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.