You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/06/29 10:36:54 UTC

[GitHub] [shardingsphere-elasticjob] xdxTao opened a new issue #1914: 文档中说提供自定义的Spring Boot Starter没太明白这个是什么意思

xdxTao opened a new issue #1914:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1914


   ![image](https://user-images.githubusercontent.com/37034233/123782946-6c9b1280-d908-11eb-9894-b42f795846f3.png)
   
   我引入的pom文件如下
   ```
   <dependency>
       <groupId>org.apache.shardingsphere.elasticjob</groupId>
       <artifactId>elasticjob-lite-core</artifactId>
       <version>3.0.0-RC1</version>
   </dependency>
   ```
   
   配置文件如下
   
   ```
   elasticjob:
     regCenter:
       serverLists: 127.0.0.1:2181
       namespace: my-job
     jobs:
       simpleJob:
         elasticJobClass: com.elastic.job.MyElasticJob
         cron: 0/1 * * * * ?
         shardingTotalCount: 1
         shardingItemParameters:
   
   ```
   
   怎么都无法开启定时任务。  难道说这个Starter是需要我自己去制作一个吗?
   
   ps:使用Java API的方式可以调用成功
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] skaic commented on issue #1914: 文档中说提供自定义的Spring Boot Starter没太明白这个是什么意思

Posted by GitBox <gi...@apache.org>.
skaic commented on issue #1914:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1914#issuecomment-870746740


   For English only
   
   pom need import this package.
   ```
      <dependency>
               <groupId>org.apache.shardingsphere.elasticjob</groupId>
               <artifactId>elasticjob-lite-spring-boot-starter</artifactId>
               <version>3.0.0-RC1</version>
       </dependency>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] xdxTao commented on issue #1914: 文档中说提供自定义的Spring Boot Starter没太明白这个是什么意思

Posted by GitBox <gi...@apache.org>.
xdxTao commented on issue #1914:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1914#issuecomment-871039117


   > For English only
   > 
   > pom need import this package.
   > 
   > ```
   >    <dependency>
   >             <groupId>org.apache.shardingsphere.elasticjob</groupId>
   >             <artifactId>elasticjob-lite-spring-boot-starter</artifactId>
   >             <version>3.0.0-RC1</version>
   >     </dependency>
   > ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] xdxTao closed issue #1914: 文档中说提供自定义的Spring Boot Starter没太明白这个是什么意思

Posted by GitBox <gi...@apache.org>.
xdxTao closed issue #1914:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1914


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org