OptionalautoImmediately start polling for work - default true
OptionalcustomZod schema for custom headers in the activated job
OptionalfetchOptional list of variable names to fetch during activation
Absolute or relative path to a JS/TS module that exports a default handler function.
The function signature must be: (job, client) => Promise<JobActionReceipt>
OptionalinputZod schema for variables in the activated job
OptionaljobJob activation timeout in ms — default 60000. Overridden by CAMUNDA_WORKER_TIMEOUT env var.
Zeebe job type
OptionalmaxConcurrency limit — default 10. Overridden by CAMUNDA_WORKER_MAX_CONCURRENT_JOBS env var.
OptionaloutputZod schema for variables in the complete command
OptionalpollCeiling (ms) of the between-failed-poll exponential backoff. Default 30000.
OptionalpollFloor (ms) of the exponential backoff applied between failed activation
requests (connection refused, connect timeout, broker restart, LAN blip …).
The first retry waits ≈ this/2–this ms; subsequent consecutive failures
double the window up to pollBackoffMaxMs, with jitter, and reset to
zero on the first successful poll. Default 1000. Set to 0 to disable backoff (failed polls then fall back to pollIntervalMs rather than retrying immediately).
OptionalpollBackoff between polls - default 1ms
OptionalpollThe request will be completed when at least one job is activated or after the requestTimeout. If the requestTimeout = 0, the request will be completed after a default configured timeout in the broker. To immediately complete the request when no job is activated set the requestTimeout to a negative value
OptionalstartupMaximum random delay (in seconds) before the worker starts polling.
When multiple application instances restart simultaneously, this spreads out
initial activation requests to avoid saturating the server.
0 (the default) means no delay.
OptionalthreadNumber of threads in the shared pool (used only when the pool is first created; subsequent workers share the existing pool). Default: number of CPU cores available to the process.
OptionalvalidateValidate any provided input, output, customheader schema default: false
OptionalworkerOptional explicit name
Configuration for a threaded job worker. Same as JobWorkerConfig but replaces
jobHandlerwithhandlerModule.