Posts

Showing posts with the label BPMN Async Execution

Camunda Job Executor Explained: Architecture, Configuration & Troubleshooting Guide

Image
Camunda Job Executor Explained (Architecture, Configuration, and Troubleshooting) The Camunda Job Executor is the backbone of asynchronous processing in Camunda BPM. If your workflows use timers, async continuations, retries, or background execution—this is the component doing the heavy lifting. In this guide, we’ll break down: Architecture (how it works internally) Configuration (how to tune it) Troubleshooting (why jobs get stuck and how to fix) 🔹 1. What is Camunda Job Executor? The Job Executor is responsible for executing background jobs such as: Timer events Async service tasks Failed job retries It works as a thread pool system that continuously polls the database and executes pending jobs 🔹 2. Job Executor Architecture Core Components ACT_RU_JOB Table Stores all pending jobs Includes lock info, retries, due dates Job Acquisition Thread Polls DB for executable jobs Locks jobs to avoid duplication Thread Pool Executes jobs in parallel Controlled via configuration Execution Fl...