I have spring-boot configureation for Camunda executor like this
job-execution:
enabled: true
max-jobs-per-acquisition: 50
core-pool-size: 1
max-pool-size: 3
queue-capacity: 3
lock-time-in-millis: 900000
wait-time-in-millis: 1000
max-wait: 10000
backoffTimeInMillis: 0
maxBackoff: 0
backoffDecreaseThreshold: 100
waitIncreaseFactor: 2
I have several questions
Am I correct in understanding that if Camunda fetches max-jobs-per-acquisition
tasks, they will all be executed in a single thread? While these 50 tasks are being executed in one thread, another job acquisition task will run, fetching another 50 tasks, which will also be executed in a single thread without parallelization. What will happen when Camunda fetches tasks queue-capacity
times? Will Camunda slow down the job acquisition thread for processing?
If Camunda puts tasks in a queue, what will be the lock time for these tasks?