You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2024/09/24 16:23:09 UTC
[I] Remove use of the discontinued Quartz in ElasticJob [shardingsphere-elasticjob]
linghengqian opened a new issue, #2439:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2439
## Feature Request
**For English only**, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will **close it**.
Please answer these questions before submitting your issue. Thanks!
### Is your feature request related to a problem?
- See https://github.com/quartz-scheduler/quartz/issues/1134 .
### Describe the feature you would like.
- In short, ElasticJob is a distributed job framework, which is mainly designed to be used by ShardingSphere. ElasticJob relies on a non-distributed job framework, Quartz. Quartz introduced an old version of HikariCP, which led to the unique form of using ElasticJob on the ShardingSphere side. See https://github.com/apache/shardingsphere/blob/f699f56189bdc7925bc3c75a170ea1c7c142810f/pom.xml#L385 .
```xml
<dependency>
<groupId>org.apache.shardingsphere.elasticjob</groupId>
<artifactId>elasticjob-lite-core</artifactId>
<version>${elasticjob.version}</version>
<exclusions>
<exclusion>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java7</artifactId>
</exclusion>
</exclusions>
</dependency>
```
- Quartz has stopped maintenance, and we should consider switching to other underlying job frameworks that do not support distributed jobs.
- First of all we cannot use https://github.com/jobrunr/jobrunr . `jobrunr/jobrunr` uses `LGPL-3.0-only`, which is not allowed by ASF. `LGPL-3.0-only` libraries may only be used during unit testing or during the build process. See https://www.apache.org/legal/resolved.html .
- Consider the following options?
- https://github.com/lukas-krecan/ShedLock
- https://github.com/kagkarlsson/db-scheduler
- A non-distributed job module that ElasticJob can proactively implement? But I'm really not sure how complicated that would be.
--
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] Removes use of the discontinued Quartz in ElasticJob [shardingsphere-elasticjob]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #2439: Removes use of the discontinued Quartz in ElasticJob
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2439
--
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] Removes use of the discontinued Quartz in ElasticJob [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2439:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2439#issuecomment-2451592941
Waiting for the official release of quartz2.4.0.
--
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] Removes use of the discontinued Quartz in ElasticJob [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2439:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2439#issuecomment-2439900635
- Let me look into https://github.com/quartz-scheduler/quartz/discussions/1166#discussioncomment-11055492 .
--
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