SAP/neonbee

Only start running job verticles if boot process fully finished

kristian opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

The Problem

Currently, if verticles are deployed during the boot process of NeonBee, it can happen that JobVerticles already start their work, even though NeonBee is still in a booting state. As verticles are deployed as a last step of the boot, this is often times not critical, but especially if verticles depend on each other through the event loop, it can result in non-deterministic behavior, especially if the job verticle calls the dependent verticle immediately.

Desired Solution

Wait for starting the "clock" of execution of all job-verticles until the boot process of NeonBee signals full completion.

Alternative Solutions

No response

Additional Context

No response