Skip to content

Releases: yinjihuan/elastic-job-spring-boot-starter

BUG 修复

17 May 08:13
Compare
Choose a tag to compare

1.使用cglib的时候直接是代理类,就取不到ElasticJobConf注解

2.动态添加任务,作业类型jobType值不一致

3.zk的配置增加metadata描述,在idea和sts中可以提示

4.只支持@EnableElasticJob注解开启自动配置,去掉spring.factories自动装配

兼容spring boot 2.1.0

17 Jan 14:26
Compare
Choose a tag to compare

兼容spring boot 2.1.0

修复Spring Boot2.1.0版本问题

17 Jan 14:04
7ce2dac
Compare
Choose a tag to compare

Spring Boot为2.1.0版本时启动会报下面的错误:

Description:

The bean 'jobConfParser', defined in class path resource [com/cxytiandi/elasticjob/autoconfigure/JobParserAutoConfiguration.class], could not be registered. A bean with that name has already been defined in URL [jar:file:/Users/yinjihuan/.m2/repository/com/github/yinjihuan/elastic-job-spring-boot-starter/1.0.2/elastic-job-spring-boot-starter-1.0.2.jar!/com/cxytiandi/elasticjob/parser/JobConfParser.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

可以设置spring.main.allow-bean-definition-overriding=true临时解决,原因是新版本中不允许有相同的BeanName。这个版本修复了这个问题,根据jobName创建SpringJobScheduler

修改配置前缀,支持Spring Boot2.0

31 Jul 09:06
Compare
Choose a tag to compare

在Spring Boot2.0版本中,配置elasticJob不支持驼峰命名,现改成elastic.job

比如:
elastic.job.MySimpleJob.cron=0/10 * * * * ?

发布1.0.1版本

16 Jul 05:43
Compare
Choose a tag to compare

删除示例工程,方便发布

发布1.0版本

16 Jul 05:16
Compare
Choose a tag to compare

支持注解发布任务