Releases: criteo/cuttle
Releases · criteo/cuttle
0.11.1
0.11.0
This introduces a new feature in CronScheduler, which is CronDag. This is a collection of CronJob that are all associated with each other via and() and dependsOn() relationships.
Behavior:
- For now, no persistent state or ability to pause or immediately an individual job. These changes are planned.
- Everything that used to hold true for CronJob still holds for CronDag (ie, no two parallel executions of dags yet, you can pause and resume a dag, etc).
API:
- Check HelloCronDagScheduling for an example
- import com.criteo.cuttle.cron.CronPipeline to access the methods and() and dependsOn(), which provides toCronDag(cronExpression)
- CronExpression moved from CronScheduling (which is at the Job level) to the CronDag level.
- Unfortunately the change is not completely backward compatible
- For the REST API, all the /jobs endpoints have been changed to /dags
UI
- Job executions are now grouped by dags, as below: