Class DurableJobDiversion

java.lang.Object
com.kingsrook.qqq.backend.core.jobs.DurableJobDiversion

public final class DurableJobDiversion extends Object
"Automatically" (spec section 2.4): when an eligible streamed ETL process reaches its execute step with more rows than durableThresholdRows (default 1,000), or is alwaysDurable, the execute step is not run inline: the process is launched as a durable job with the values collected so far, and the step returns at once with the value durableJobId and a summary line that says the work is running in the background. Clients link to the job. Never inside a job (a chunk runs the same process steps), and never for the system user. A process value durableRunInline=true keeps the old inline behaviour for one run.