For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Configuration reference

Technical Preview

The Rust SDK is a technical preview. Its API surface may still evolve and changes may not follow semantic versioning. Pin an exact version if you need stability.

VariablePurpose
CAMUNDA_REST_ADDRESSBase cluster address. /v2 is appended automatically.
ZEEBE_REST_ADDRESSAlias for CAMUNDA_REST_ADDRESS.
CAMUNDA_AUTH_STRATEGYOAUTH | BASIC | NONE.
CAMUNDA_CLIENT_ID / CAMUNDA_CLIENT_SECRETOAuth client credentials.
CAMUNDA_OAUTH_URLOAuth token endpoint.
CAMUNDA_TOKEN_AUDIENCEOAuth audience parameter.
CAMUNDA_OAUTH_SCOPEOAuth scope parameter.
CAMUNDA_BASIC_AUTH_USERNAME / CAMUNDA_BASIC_AUTH_PASSWORDBasic-auth credentials.
CAMUNDA_DEFAULT_TENANT_IDDefault tenant id (alias CAMUNDA_TENANT_ID). Injected into deploys, instance creation, messages, signals, decisions, and worker activation when none is set.
CAMUNDA_SDK_BACKPRESSURE_PROFILEAdaptive backpressure profile: BALANCED (default, adaptive gating) or LEGACY (observe-only, no gating).
CAMUNDA_OAUTH_CACHE_DIRDirectory for the cross-process OAuth token cache. Unset disables disk caching (in-memory only).
CAMUNDA_SDK_LOG_LEVELSDK log level for CamundaClient::init_logging: OFF | ERROR | WARN | INFO (default) | DEBUG | TRACE.
CAMUNDA_SDK_EVENTUAL_POLL_DEFAULT_MSDefault timeout for CamundaClient::eventual consistency polling (default 10000).
CAMUNDA_SDK_HTTP_RETRY_MAX_ATTEMPTSMax attempts for transient-error retry of initiating operations (default 4; 1 disables retry).
CAMUNDA_SDK_HTTP_RETRY_BASE_DELAY_MS / CAMUNDA_SDK_HTTP_RETRY_MAX_DELAY_MSFull-jitter backoff bounds for HTTP retry (defaults 250 / 5000).
CAMUNDA_MTLS_CERT / CAMUNDA_MTLS_CERT_PATHClient certificate (inline PEM or file path) for mutual TLS.
CAMUNDA_MTLS_KEY / CAMUNDA_MTLS_KEY_PATHClient private key (inline PEM or file path) for mutual TLS.
CAMUNDA_MTLS_CA / CAMUNDA_MTLS_CA_PATHAdditional CA root (inline PEM or file path) to trust.
CAMUNDA_MTLS_KEY_PASSPHRASEPassphrase for an encrypted client key (not supported by the default native-tls backend; errors clearly if set).
CAMUNDA_WORKER_NAMEDefault worker name for CamundaClient::worker_config.
CAMUNDA_WORKER_MAX_CONCURRENT_JOBSDefault max concurrent jobs per worker.
CAMUNDA_WORKER_TIMEOUT / CAMUNDA_WORKER_REQUEST_TIMEOUTDefault job-activation and long-poll timeouts (ms).
CAMUNDA_WORKER_STARTUP_JITTER_MAX_SECONDSMax random startup delay before a worker's first poll, to spread activation stampedes.