Namespace Virtufin.WorkManager.Configuration
Classes
- DaprResilienceOptions
Tunable knobs for DaprResiliencePipeline: the Polly-based retry + circuit breaker wrapping every Dapr SDK call the WorkManager makes.
- InfraEvents
CloudEvents v1.0 type strings for WorkManager infra events (heartbeats).
- Topics
Pubsub topics published by the WorkManager. Topic naming follows the lane + scenario scheme in virtufin-openspec/openspec/specs/pubsub-topics/spec.md. This file is the source of truth for any service that needs to consume workmanager.* events.
- WorkerEvents
CloudEvents v1.0 type strings for WorkManager events. See virtufin-openspec/openspec/specs/pubsub-topics/spec.md for the ce-type taxonomy.
- WorkerProcessingRetryOptions
Tunable knobs for WorkerProcessingRetryPipeline: the Polly-based retry wrapping
worker.ProcessAsyncinWorkManager.ProcessCloudEventAsync.Deliberately separate from DaprResilienceOptions even though the defaults happen to match: that class scopes Dapr infra call retries (state store, pubsub RPCs), this one scopes worker business-logic processing failures -- restoring the pubsub-topics spec's "Retry Policy on Dapr Subscribe Exceptions" bounded-retry-then-dead-letter guarantee, which the streaming Pubsub.Subscribe migration moved from Dapr's broker-level redelivery to WorkManager's own application-level responsibility (broker redelivery is architecturally inapplicable once a message is inside the Gateway's multi-consumer fan-out -- see spec's "In-process exception on a subscriber" requirement).
- WorkerRecoveryOptions
Worker recovery tuning. Controls whether WorkManagerRecoveryHostedService runs on startup and how it elects a leader when multiple WorkManager instances start concurrently.