Runtime Configuration Reference

Copy Markdown View Source

This file is generated from Continuum.Config.schema/0. Configure a runtime through Continuum.children/1; unknown, duplicate, or invalid options raise before child specs are returned.

OptionTypeDefaultDescription
nameatomContinuumRuntime instance name.
repomodule | nilconfigured repoEcto repo used by durable components.
journalmodule | nilderivedJournal adapter override.
workflow_modules[module] | nildiscoveredWorkflow modules registered at boot.
activity_executor:builtin | {:oban, keyword}:builtinActivity execution backend.
activity_max_concurrencypositive_integer10Instance-wide built-in worker limit.
activity_queuesmap | keyword%{}Per-queue positive concurrency limits.
heartbeaterboolean | keyword[]Lease heartbeater child options.
run_supervisorboolean | keyword[]Run supervisor child options.
activity_supervisorboolean | keyword[]Activity supervisor child options.
recoveryboolean | keyword[]Startup recovery child options.
dispatcherboolean | keyword[]Run dispatcher child options.
activity_dispatcherboolean | keyword[]Activity dispatcher child options.
timer_wheelboolean | keyword[]Timer wheel child options.
schedule_runnerboolean | keyword[]One-shot schedule runner child options.
signal_routerboolean | keyword[]Signal router child options.
snapshotterboolean | keyword[]Snapshotter child options.
partition_maintainerboolean | keywordfalseOptional partition DDL child options.
version_registryboolean | keyword[]Workflow version registrar child options.

Child option keys

Each child accepts false to omit it, true for defaults, or a keyword list:

  • activity_dispatcher: enabled?, interval_ms, batch_size, ttl_seconds, backpressure_jitter_ms
  • activity_supervisor: no child-specific options
  • dispatcher: enabled?, interval_ms, batch_size, ttl_seconds
  • heartbeater: name, interval_ms, ttl_seconds, drain_timeout_ms
  • partition_maintainer: months, start_month, interval_ms, initial_delay_ms
  • recovery: enabled?, name
  • run_supervisor: no child-specific options
  • schedule_runner: interval_ms, batch_size
  • signal_router: listen?, catch_up_interval_ms, catch_up_batch_size
  • snapshotter: snapshot_threshold, snapshot_max_size_bytes, journal
  • timer_wheel: enabled?, listen?, refresh_ms, window_ms, batch_size
  • version_registry: workflow_modules, registration_fun, retry_base_ms, retry_max_ms

Regenerate with mix continuum.config.docs; CI can verify the committed file with mix continuum.config.docs --check.