Skip to content
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

How to dynamically adding jobs #2415

Closed
weiro-9-w7 opened this issue Aug 8, 2024 · 6 comments · Fixed by #2426
Closed

How to dynamically adding jobs #2415

weiro-9-w7 opened this issue Aug 8, 2024 · 6 comments · Fixed by #2426

Comments

@weiro-9-w7
Copy link

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
Copy link
Author

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

@linghengqian
Copy link
Member

@weiro-9-w7
Copy link
Author

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

@linghengqian
Copy link
Member

linghengqian commented Aug 9, 2024

  • I will say that I do not believe the next version will be 3.1.0, and there are currently no committers or PPMCs writing for a potential next version. The next version will probably be 3.0.5.

  • The main reason why ElasticJob is still updated irregularly is that ShardingSphere still needs a distributed job framework. Moreover, ShardingSphere requires that the functions of this distributed job framework meet the requirements of ShardingSphere.

@linghengqian
Copy link
Member

@linghengqian
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants