Scheduler

Serverless Workflow SDK reference implementation provides a full implementation of the scheduling functionality defined on the CNFC specification. Besides this, Quarkus Flow provide an additional implementation based on Quarkus Scheduler.

The default implementation uses a ScheduledExecutorService instance for every and after and cron-utils lightweight library for cron

In case users want to replace default implementation by the Quarkus base one, they should add following dependency in their pom.xml file

<dependency>
  <groupId>io.quarkiverse.flow</groupId>
  <artifactId>quarkus-flow-scheduler</artifactId>
</dependency>

Setup

Once you are using the Quarkus scheduler you have access to the set of properties defined for this Quarkus component. By default, in order to be compliant with the CNFC spec, quarkus.scheduler.cron-type is set to unix