A concurrent JDBC job store implementation for Quartz.
make
Set the job store in your quartz properties:
org.quartz.jobStore.class=com.salesforce.zero.quickquartz.QuickQuartz
Use QuickQuartzSchedulerFactory
to create a Scheduler
:
@Bean
fun scheduler(): Scheduler {
return QuickQuartzSchedulerFactory(myDataSource(), myQuartzProperties).scheduler
}
Then use the scheduler as you normally would.
We use ktlint.
ktlint --apply-to-idea-project
The spotless
maven plugin is also configured to use ktlint
.