Hello,
I’m using external task client to complete my BPMN process. I want to perform the load testing to be conducted for camunda external task client. I have deployed the exteranl task client service as a k8s pod in OCP with number of pod count as 2. Now my service is running with 2 pods. For external task client in the configuration which is application.properties I have declared the worker id as cwaprocessworker like below.
Using fetchAndLock mechanism the tasks will be consumed/locked by the external task worker.
camunda.bpm.client.async-response-timeout=30000
camunda.bpm.client.subscriptions.fourEyeCheckDecisionTopic.process-definition-key=CollateralFourEyeCheck
camunda.bpm.client.subscriptions.fourEyeCheckDecisionTopic.lock-duration=120000
camunda.bpm.client.worker-id=cwaprocessworker
camunda.bpm.client.max-tasks=3
camunda.bpm.client.host=workbench.apps
Now with one worker id which is cwaprocessworker, how the load will be shared by both the pods.
If the load is getting shared then how can we verify the pod1/pod2 processing the requests and how to verify in database tables (let’s say H2 DB).
I have the pod logs and I can see that the requests are getting shared/processed by both the pods. But how can I verify the tasks/requests which are distributed using only one worker id in database side.
Below is the snippet which describes how the BPMN will looks like.
Please let me know if you need more details.
Thank you,
Ramanaiah Pirla.