分布式调度任务架构elastic job的spring-boot-starter自动装载模块

上传者: m0_38138879 | 上传时间: 2021-06-07 09:04:12 | 文件大小: 27KB | 文件类型: ZIP
模块研发背景: 1.每个复杂的项目都存在大量重要的定时调度任务,引入一个好用的分布式调度任务框架是 非常重要的。elastic job是当当网开源的基于quartz的分布式调度框架,通过zookeeper实 现分布式协调,加上支持分片、日志追踪、任务管理UI、高可性被大家熟知。 2.目前新的项目基本都是spring boot,如何通过约束、配置方式快速构建elastic job是一个必 要解决问题 ;所以博主自己开发了一个elastic job 的spring boot starter自动装载模块;目前 该starter已经在公司多个项目生产环境运行。研发只需关注实现job和在application.yml增 加相应配置即可。 模块运行环境: 1.JDK1.8 2.MAVEN3.3+ 3.Spring boot 2.1.17.RELEASE 4.Zookeeper 3.4.6 5.100%生产环境使用

文件下载

资源详情

[{"title":"( 21 个子文件 27KB ) 分布式调度任务架构elastic job的spring-boot-starter自动装载模块","children":[{"title":"hrs-elasticjob-spring-boot-starter","children":[{"title":"elasticjob-spring-boot-starter","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"META-INF","children":[{"title":"spring.factories <span style='color:#111;'> 153B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"hrs","children":[{"title":"tools","children":[{"title":"spring","children":[{"title":"elasticjob","children":[{"title":"autoconfig","children":[{"title":"ElasticJobAutoConfiguration.java <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"ElasticJobRegistrar.java <span style='color:#111;'> 10.67KB </span>","children":null,"spread":false},{"title":"ElasticJobProperties.java <span style='color:#111;'> 755B </span>","children":null,"spread":false}],"spread":true},{"title":"properties","children":[{"title":"JobProperties.java <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"ZookeeperRegistryCenterProperties.java <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"JobType.java <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"ListenerProperties.java <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"DistributedListenerProperties.java <span style='color:#111;'> 390B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 32.99KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 863B </span>","children":null,"spread":false}],"spread":true},{"title":"hrs-elasticjob-spring-boot-starter.iml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"elasticjob-demo","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"application.yml <span style='color:#111;'> 464B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"hrs","children":[{"title":"tools","children":[{"title":"demo","children":[{"title":"elasticjob","children":[{"title":"MySimpleJob.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"ElasticJobApplication.java <span style='color:#111;'> 558B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"elasticjob-demo.iml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • softech :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-06-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明