apache / shardingsphere-elasticjob

Distributed scheduled job
Apache License 2.0
8.15k stars 3.29k forks source link

How to dynamically adding jobs #2415

Closed weiro-9-w7 closed 3 months ago

weiro-9-w7 commented 3 months ago

Question

For English only, other languages will not accept.

Before asking a question, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will close it.

I viewed the faq document and found it can implement the dynamically add jobs, but I can't found the interface to implement it; how to do ?

Now, All jobs configuration need be loaded from db . if found the new job, need dynamiclly create them. thanks

weiro-9-w7 commented 3 months ago

Maybe I got , only use new ScheduleJobBootstrap(coordinatorRegistryCenter(), new TestJob(), createJobConfiguration()); can dynamically create it, but i'm not sure

linghengqian commented 3 months ago
weiro-9-w7 commented 3 months ago

@linghengqian Thanks!
I think so too. I viewed an official mention that version 3.1 will support it.

linghengqian commented 3 months ago
linghengqian commented 3 months ago
linghengqian commented 3 months ago