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

xxl job支持spring和spring-boot-starter,包括BeanPostProcessor、XxlJobClient等 #3665

Open
1123183721 opened this issue Feb 27, 2025 · 4 comments

Comments

@1123183721
Copy link

最近这几年我司一直在使用xxl-job做任务调度,基本都是在spring和spring boot项目中使用bean模式支持任务调度,我想这也是大部分xxl-job Java用户的常用场景,但是xxl-job在一些场景使用起来有一些复杂,所以我司也对xxl-job的执行器端做了一些改进工作,核心功能包括:
1、xxl-job-spring项目以支持spring

  • 实现BeanPostProcessor来扫描任务自动注册到执行器中;
  • 新增@XxlJobInfo注解(包含任务的完整信息)支持执行器端在项目启动的时候添加任务和执行器对象到调度中心;
  • 提供XxlJobClient方便调用web接口(UI使用到的那些接口);
  • XxlJobTrigger接口更方便的在执行器端手动触发任务执行;

2、xxl-job-spring-boot项目以支持spring-boot

  • xxl-job-spring-boot-starter

@xuxueli 作者觉的咋样,如果觉的可以的话能否新建这2个项目仓库?

@1123183721 1123183721 changed the title xxl job支持spring和spring-boot-starter xxl job支持spring和spring-boot-starter,包括BeanPostProcessor、XxlJobClient等 Feb 27, 2025
@gofreehj
Copy link

期待一下

@1123183721
Copy link
Author

@gofreehj 看来作者又躺了,是时候启动个新的项目了😂

@gofreehj
Copy link

@1123183721 作者应该是不太想维护各种客户端

@gofreehj
Copy link

gofreehj commented Mar 6, 2025

@gofreehj 看来作者又躺了,是时候启动个新的项目了😂

等你项目

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

No branches or pull requests

2 participants