You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using quartz 2.5.0 and spring-boot 3.3.7 and it looks like the jobs are not being executed in parallel, not sure if this is a bug or maybe I am missing something in my configuration, I hope someone can help me.
I have the following configuration to setup the quartz scheduler inside my spring application
When my application is starting I see the following quartz logs.
2025-02-03T22:19:46.957Z INFO 1 --- [ main] org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2025-02-03T22:19:46.958Z INFO 1 --- [ main] org.quartz.core.QuartzScheduler : Quartz Scheduler v2.5.0 created.
2025-02-03T22:19:46.984Z INFO 1 --- [ main] o.s.s.quartz.LocalDataSourceJobStore : Using db table-based data access locking (synchronization).
2025-02-03T22:19:46.988Z INFO 1 --- [ main] o.s.s.quartz.LocalDataSourceJobStore : JobStoreCMT initialized.
2025-02-03T22:19:46.995Z INFO 1 --- [ main] org.quartz.core.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.5.0) 'schedulerFactoryBean' with instanceId 'terrakube-api-fb67864f6-gj5cs1738621186939'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2025-02-03T22:19:46.995Z INFO 1 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'schedulerFactoryBean' initialized from an externally provided properties instance.
2025-02-03T22:19:46.996Z INFO 1 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler version: 2.5.0
I was checking the documentation in the following link and I added the following properties but it is not working to run job in parallel.
I am using quartz
2.5.0
and spring-boot3.3.7
and it looks like the jobs are not being executed in parallel, not sure if this is a bug or maybe I am missing something in my configuration, I hope someone can help me.I have the following configuration to setup the quartz scheduler inside my spring application
I am creating the quartz job using the following:
When my application is starting I see the following quartz logs.
I was checking the documentation in the following link and I added the following properties but it is not working to run job in parallel.
Finally I am implementing the job like the following without using
@DisallowConcurrentExecution
Even if I added multiple pod in my application jobs are running sequentially but are executed in different instances.
Any suggestion to make the jobs run in parallel?
The text was updated successfully, but these errors were encountered: