Namespace Virtufin.WorkManager.Configuration
Classes
- DaprResilienceOptions
Tunable knobs for DaprResiliencePipeline: the Polly-based retry + circuit breaker wrapping every Dapr SDK call the WorkManager makes.
- WorkerEvents
The states a worker lifecycle event reports in its payload's
statefield. Every lifecycle event is published tosys.workmanager.worker.lifecyclewith ce-typecom.virtufin.workmanager.worker.lifecycle(WorkManagerNames, from the naming library); the state is never part of the topic or the type (openspec pubsub-topics, Tier 0 / Infrastructure Events).
- 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.
- WorkerTopicPlaceholders
Placeholders a
CreateWorkertopic may contain, expanded once when the worker is created and persisted expanded.