I am new to the zeebe workflow engine and trying to understand how the workflow execution works so the we could effectively implement zeebe workers.
Going through the documentation, I have a basic question - why do zeebe workers poll?
In my understanding the flow is this
- During the process deployment step, zeebe engine determines the workers registered for all the task types.
- During instance execution, the broker calls the worker for that server/user task.
Since the execution flow is from the broker to the worker (and not the other way around) I do not understand why does the documentation mentions about requesting jobs and polling/queuing.
Thanks