-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To be able to schedule clusterized tasks and non-clusterized (in memory) timers #41954
Comments
basically the need is to use quartz for some jobs, while keeping the normal local scheduler for all others. it would be nice to have a specific annotation QuartzScheduled to specifically mark some jobs as run by quartz, while all others would still be run through the default local non persistent scheduler. |
I would think a clustered=false added to the @schedule annotation would be more elegant no? |
That's an interesting use case. To be clear - this only applies if I don't think that Quartz API has a way to specify that a specific job is clustered or not. It's a global configuration. So we would need to run the simple in-memory scheduler ( |
that would be my preferred choice. I do not want to run everything with quartz.
right. that is why I was suggesting providing |
I think that we would need a more general solution. In other words, we would need:
|
this is very important for us, as we have |
Yes, any app running Quartz in cluster mode... |
Description
Given this fact:
With a clustered setup of Quartz in a multi-pods environment, it is no more possible to schedule in-memory timers or recurrent in-memory tasks in a given pod in order to trigger actions on some beans, using the
@Scheduled
annotation.Does currently exist a recipe to mixt both needs in an elegant way? Or, is it possible to plan some development on the Quarkus-Quartz extension?
Best regards.
Implementation ideas
@QuartzScheduled
annotation@Scheduled
annotationThe text was updated successfully, but these errors were encountered: