xxl-job集成nacos,openfeign的demo
此 demo 主要演示了 Spring cloud 如何集成 XXL-JOB 实现分布式定时任务,并提供绕过
xxl-job-admin
对定时任务的管理的方法,包括定时任务列表,触发器列表,新增定时任务,删除定时任务,停止定时任务,启动定时任务,修改定时任务,手动触发定时任务。
依赖 | 版本 |
---|---|
Spring Boot | 2.4.2 |
Spring Cloud | 2020.0.3 |
Spring Cloud Alibaba | 2021.1 |
hutool | 5.7.12 |
xxl-job | 2.3.0 |
xxl-job-demo
├── admin -- xxl-job-admin 版本为2.3.0
├── common -- 系统公共模块
├── consumer -- 消费者,以openapi调用xxl-job-admin完成任务的调度
├── executor -- 执行器示例
├── docs -- Github Pages && xxl-job架构图
└── sql -- xxl-job-admin的初始化sql
update