RevenueFlow.Hosting.Worker
0.1.0-alpha.7.2
dotnet add package RevenueFlow.Hosting.Worker --version 0.1.0-alpha.7.2
NuGet\Install-Package RevenueFlow.Hosting.Worker -Version 0.1.0-alpha.7.2
<PackageReference Include="RevenueFlow.Hosting.Worker" Version="0.1.0-alpha.7.2" />
<PackageVersion Include="RevenueFlow.Hosting.Worker" Version="0.1.0-alpha.7.2" />
<PackageReference Include="RevenueFlow.Hosting.Worker" />
paket add RevenueFlow.Hosting.Worker --version 0.1.0-alpha.7.2
#r "nuget: RevenueFlow.Hosting.Worker, 0.1.0-alpha.7.2"
#:package RevenueFlow.Hosting.Worker@0.1.0-alpha.7.2
#addin nuget:?package=RevenueFlow.Hosting.Worker&version=0.1.0-alpha.7.2&prerelease
#tool nuget:?package=RevenueFlow.Hosting.Worker&version=0.1.0-alpha.7.2&prerelease
Explicit event worker
RevenueCatalogProvisioningWorker is an optional full-scope catalog pump over CatalogProvisioningService. It scans bounded pages across complete cycles, advances durable provider steps and isolates a failed destination so healthy jobs continue. Register it explicitly after configuring the same transactional store instance for catalog publication and provisioning. Unknown native submissions recover through reads; concurrent instances share atomic step/native-object claims. Logging retains classifications only. Linked identities and catalog readiness are separate; store review/release remains explicit. The host owns worker lifetime, credentials, authorization and non-destructive retention.
RevenueReconciliationWorker schedules one explicitly registered Core IProviderReconciliationTask with cancellation, bounded polling interval and classified failure logging. Applications implement the task with durable provider history/reference reconciliation, persist a stable run key until its sweep completes, and then begin a fresh sweep to discover missed updates. Multiple host instances may run the same task; the underlying command/checkpoint contracts must arbitrate their work. The worker does not infer credentials, enumerate scopes or silently skip native provider retention limits.
RevenueEventWorker is an optional BackgroundService for one trusted full scope and selected IRevenueEventConsumer. By default it drains up to eight 50-record forward pages per burst, then one independent revisit page. A revisit sweep captures a finite forward boundary so continuous appends cannot indefinitely postpone older retries or inserts behind the forward cursor. Useful claims/deadletters continue with cooperative yielding; an entire burst without useful work, or a failed scan, waits for the polling interval. Logs retain safe classifications and cancellation stops scanning/handlers.
The original constructor retains its default behavior/configuration inputs. The seven-argument overload accepts RevenueEventWorkerOptions with page size 1–100 and maximum forward pages per drain 1–256. An optional IRevenueOutboxQueryStore filters recognized terminal and unavailable rows before pagination; its index layout/backfill and native scanned-row cost remain store-specific. Generic custom-store fallback still scans retained delivered, delayed and leased rows, with idle scanning bounded by the selected forward burst plus one revisit page per interval. Unclassified/corrupt/stale metadata always remains visible. Each delivery preserves its independent durable claim and completion transaction, and handlers run outside both transactions.
The host explicitly creates/registers workers, consumers, stores and schema. Construction/worker startup never migrates a database or installs HTTP endpoints. External handler effects remain at least once.
| 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. |
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- RevenueFlow.Catalog (>= 0.1.0-alpha.7.2)
- RevenueFlow.Events (>= 0.1.0-alpha.7.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.1.0-alpha.7.2 | 50 | 11/10/2026 |