I am using Quartz with mongodb .I know it has alot of issues and using the dpenedency https://github.com/michaelklishin/quartz-mongodb.
The problem i am facing is forexample i have 100 jobs each with 1 Simple trigger. Note that all the jobs have same execution time . when the jobs started to execute , only few jobs are successfull remaining does not executed at all. I am not able to unable this behaviour.
return TriggerBuilder.newTrigger() .withIdentity(jobName) .withSchedule(SimpleScheduleBuilder.simpleSchedule() .withMisfireHandlingInstructionFireNow() ) .startAt(new Date(fireTime.atZone(getZoneId(triggerDetails)).toEpochSecond() * 1000)) .usingJobData(jobDataMap) .forJob(jobName) .build();
my properties are :
` threadPool:
threadCount: 5 # thread count setting is ignored by the MongoDB store but Quartz requries it
threadNamePrefix: Q_POOL
scheduler:
instanceId : AUTO
instanceName: myinstace`
what i am missing ? any thoughts?