You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "weiro-9-w7 (via GitHub)" <gi...@apache.org> on 2024/08/08 06:08:00 UTC

[I] How to dynamically adding jobs [shardingsphere-elasticjob]

weiro-9-w7 opened a new issue, #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415

   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere-elasticjob/issues).
   - Read documentation: [ElasticJob Doc](https://shardingsphere.apache.org/elasticjob/current/en/overview/).
   
   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #2415: How to dynamically adding jobs
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2282680732

   - Feel free to check out #2426 in `org.apache.shardingsphere.elasticjob.test.natived.it.operation.JavaTest` for ways to add, delete, modify, and query jobs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2280125824

   - You can now use `org.apache.shardingsphere.elasticjob.lifecycle.api.JobConfigurationAPI`. See https://shardingsphere.apache.org/elasticjob/current/en/user-manual/usage/operation-api/ and `org.apache.shardingsphere.elasticjob.lifecycle.internal.settings.JobConfigurationAPIImplTest`.
   - I am about to add unit tests to nativeTest under GraalVM Native Image.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2275481202

   - From my exploration at https://github.com/apache/shardingsphere-elasticjob/blob/master/test/native/src/test/java/org/apache/shardingsphere/elasticjob/test/natived/JavaTest.java , I would say that this is the only way you can add jobs at the moment. 
   - Feel free to suggest new ideas, new drafts or PRs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "weiro-9-w7 (via GitHub)" <gi...@apache.org>.
weiro-9-w7 commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2276982767

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2276986228

   -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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to dynamically adding jobs [shardingsphere-elasticjob]

Posted by "weiro-9-w7 (via GitHub)" <gi...@apache.org>.
weiro-9-w7 commented on issue #2415:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2415#issuecomment-2275327476

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org