-
Notifications
You must be signed in to change notification settings - Fork 11
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
Clustered Quartz #9
Comments
We would like to, but don't have a concrete plan at the moment. The big hurdle is being able to serialize the job itself - that's difficult to do with block-based jobs in TorqueBox or the functions that may capture lexical scope in Immutant. One approach may be to place restrictions on jobs that will be stored, but we haven't looked at it too deeply. If we did support it, we would probably also provide an Infinispan-based JobStore for you to use in addition to existing JobStores. |
I think it can be reasonable to make less "sexy" but more simple API without blocks and functions, only with simply serializable things like class name + method name + args and var name + args. Anyway, there are some ways to serialize clojure's even anonymous fn with context. See https://github.com/nathanmarz/cascalog/blob/develop/cascalog-core/src/clj/cascalog/logic/fn.clj#L51 It also will be cool to have explicit way to start services like scheduling and pass to it context for all jobs. This makes possible Reloaded Workflow (https://github.com/stuartsierra/component) :) |
Yes, adjustments to the API (like allowing a class that provides a run() method in addition to a block in TorqueBox) are what we've talked about to support this. Would you mind filing a jira on Immutant (https://issues.jboss.org/browse/IMMUTANT) requesting JobStore support? For component support, are you wanting a way to stop/start the scheduler without having to unshedule the jobs? Can you file a jira for that as well? |
Hi!
Are you going to support durable and clustered Quartz JobStores for scheduling?
The text was updated successfully, but these errors were encountered: