From 44e94057b3ce522adbe4cf4231248bfcc02d38f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Tue, 31 Jul 2018 15:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E9=85=8D=E7=BD=AE=E5=89=8D?= =?UTF-8?q?=E7=BC=80=EF=BC=8C=E4=BF=AE=E5=A4=8Dboot2.0=E4=B8=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E9=A9=BC=E5=B3=B0=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cxytiandi/elasticjob/autoconfigure/ZookeeperProperties.java | 2 +- .../java/com/cxytiandi/elasticjob/parser/JobConfParser.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/autoconfigure/ZookeeperProperties.java b/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/autoconfigure/ZookeeperProperties.java index 6e353a4..1955641 100644 --- a/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/autoconfigure/ZookeeperProperties.java +++ b/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/autoconfigure/ZookeeperProperties.java @@ -2,7 +2,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; -@ConfigurationProperties(prefix = "elasticJob.zk") +@ConfigurationProperties(prefix = "elastic.job.zk") public class ZookeeperProperties { /** * 连接Zookeeper服务器的列表. 包括IP地址和端口号. 多个地址用逗号分隔. 如: host1:2181,host2:2181 diff --git a/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/parser/JobConfParser.java b/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/parser/JobConfParser.java index ec03491..af059f3 100644 --- a/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/parser/JobConfParser.java +++ b/spring-boot-elastic-job-starter/src/main/java/com/cxytiandi/elasticjob/parser/JobConfParser.java @@ -49,7 +49,7 @@ public class JobConfParser implements ApplicationContextAware { @Autowired private ZookeeperRegistryCenter zookeeperRegistryCenter; - private String prefix = "elasticJob."; + private String prefix = "elastic.job."; private Environment environment;