Version v0.1 · dotnet

Configuration Schema

Canonical configuration keys, defaults, and field-level behavior.

Configuration Schema

Use this page as the canonical map of the DurableStack configuration object.

Root shape

DurableStack
  StorageProvider
  WorkerName
  DatabaseTablePrefix
  PollIntervalSeconds
  PollJitterEnabled
  PollJitterRatio
  BatchSize
  MaxConcurrentRuns
  LeaseDurationSeconds
  RetryDelay
  RetryMaxDelay
  RetryJitterEnabled
  RetryJitterRatio
  JobActivation
  Postgres.ConnectionString
  SqlServer.ConnectionString
  Sqlite.ConnectionString
  MySql.ConnectionString
  Recurring.CatchUpPolicy
  Recurring.RegistrationSync.ExistingJobBehavior
  Recurring.RegistrationSync.OrphanedJobBehavior
  Retention.Enabled
  Retention.RunRetentionSeconds
  Retention.SweepIntervalSeconds
  Retention.DeleteBatchSize
  JobRegistration.AutoDiscoverJobsFromAssembly
  Eventing.TenantId
  Eventing.ClientSecret
  Eventing.IngestionApiBaseUrl
  Eventing.IngestionPath
  Eventing.IngestionMaxBatchSize
  Eventing.IngestionMaxRequestBodyBytes
  Eventing.IngestionMaxRetryAttempts
  Eventing.IngestionFlushIntervalSeconds
  Eventing.IncludeErrorDetail
  Eventing.MaxErrorDetailLength

Notes

  • Prefer explicit C# configuration in startup for operational clarity.
  • Use provider-specific registration helpers when possible (AddDurableStackPostgres, etc.).
  • Keep secret values (connection strings, tenant/client secret) in secure secret stores.

For defaults and detailed semantics, see Configuration options.