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

Q: How to set jobs configuration dynamically from database? #2382

Closed
weiwill opened this issue Dec 28, 2023 · 3 comments · Fixed by #2426
Closed

Q: How to set jobs configuration dynamically from database? #2382

weiwill opened this issue Dec 28, 2023 · 3 comments · Fixed by #2426

Comments

@weiwill
Copy link

weiwill commented Dec 28, 2023

As shown below, I want to dynamically read from the database

image

@weiro-9-w7
Copy link

how to handle the function

@linghengqian
Copy link
Member

  • You can use org.apache.shardingsphere.elasticjob.lifecycle.api.JobConfigurationAPI to CRUD jobs from Zookeeper Server. For reading jobs from database, you need to submit PR for The lite-core module decouples ZooKeeper #2183 first.
  • I am about to add unit tests to nativeTest under GraalVM Native Image.

@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
3 participants