Hi… I hope to understand some concept for camunda external worker.
My understanding is that 1) external worker is to run outside of the Camunda Engine to take on certain tasks. I sense the benefits are the following:
- keep engine from affected by the worker
- Worker can scale without affecting engine(?)
If so, my question is
- When to use external worker vs in-proc activity?
- What is the recommendated way to build external worker? Spring boot or plain Java ?
- Can worker scale to multiple instances assuming camunda has the proper locking mechanism to task, and workers is stateless?
- I see external worker used long pull to keep the http connection. At one point of time, the connection will close or fail. What is the recommended way to handle this scenario?
Thanks,