diff --git a/README.md b/README.md index 1c9c2678..907bca30 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是 - 22、失败处理策略;调度失败时的处理策略,策略包括:失败告警(默认)、失败重试; - 23、分片广播任务:执行器集群部署时,任务路由策略选择"分片广播"情况下,一次任务调度将会广播触发对应集群中所有执行器执行一次任务,同时传递分片参数;可根据分片参数开发分片任务; - 24、动态分片:分片广播任务以执行器为维度进行分片,支持动态扩容执行器集群从而动态增加分片数量,协同进行业务处理;在进行大数据量业务操作时可显著提升任务处理能力和速度。 +- 25、事件触发:除了"Cron方式"和"任务依赖方式"触发任务执行之外,支持基于事件的触发任务方式。调度中心提供触发任务单次执行的API服务,可根据业务事件灵活触发。 ## Development @@ -127,6 +128,8 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是 - 41、广州瀚农网络科技有限公司 - 42、享点科技有限公司 - 43、杭州比智科技有限公司 + - 44、圳临界线网络科技有限公司 + - 45、广州知识圈网络科技有限公司 - …… > 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-job/issues/1 ) 登记,登记仅仅为了产品推广。 diff --git a/doc/XXL-JOB-English-Documentation.md b/doc/XXL-JOB-English-Documentation.md index d949a5d0..bc760a63 100644 --- a/doc/XXL-JOB-English-Documentation.md +++ b/doc/XXL-JOB-English-Documentation.md @@ -35,6 +35,9 @@ XXL-JOB is a lightweight distributed task scheduling framework, the core design - 22.Failure handling strategy:Handling strategy when scheduling fails, the strategy includes: failure alarm (default), failure retry; - 23.Sharding broadcast task: When an executor cluster is deployed, task routing strategy select "sharding broadcast", a task schedule will broadcast all the actuators in the cluster to perform it once, you can develop sharding tasks based on sharding parameters; - 24.Dynamic sharding: The sharding broadcast task is sharded by the executors to support the dynamic expansion of the executor cluster to dynamically increase the number of shardings and cooperate with the business handle; In the large amount of data operations can significantly improve the task processing capacity and speed. +- 25、Event trigger:In addition to "Cron" and "Task Dependency" to trigger tasks, support event-based triggering tasks. The dispatch center provides API service that triggers a single execution of the task, it can be triggered flexibly according to business events. + + ### 1.3 Development In 2015, I created the XXL-JOB project repository on github and submitted the first commit, followed by the system structure design, UI selection, interactive design ... In 2015 - November, XXL-JOB finally RELEASE the first big version of V1.0, then I will be released to OSCHINA, XXL-JOB OSCHINA won the popular recommendation of @红薯, the same period reached OSCHINA's " Popular move "ranked first and git.oschina open source software monthly heat ranked first, especially thanks for @红薯, thank you for the attention and support. @@ -89,6 +92,8 @@ So far, XXL-JOB has access to a number of companies online product line, access - 41、广州瀚农网络科技有限公司 - 42、享点科技有限公司 - 43、杭州比智科技有限公司 + - 44、圳临界线网络科技有限公司 + - 45、广州知识圈网络科技有限公司 - …… > The company that access and use this product is welcome to register at the [address](https://github.com/xuxueli/xxl-job/issues/1 ), only for product promotion. @@ -758,6 +763,18 @@ There are only two settings when communication between scheduler center and exec - one:do not configure AccessToken on both, close security check. - two:configure the same AccessToken on both; +### 5.11 Dispatching center API services +The scheduling center provides API services for executors and business parties to choose to use, and the currently available API services are available. + + 1. Job result callback service; + 2. Executor registration service; + 3. Executor registration remove services; + 4. Triggers a single execution service, and support the task to be triggered according to the business event; + +The scheduling center API service location: com.xxl.job.core.biz.AdminBiz.java + +The scheduling center API service requests reference code:com.xxl.job.dao.impl.AdminBizTest.java + ## 6 Version update log ### 6.1 version V1.1.x,New features [2015-12-05] diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 50b08719..c205ff9b 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -97,6 +97,8 @@ XXL-JOB是一个轻量级分布式任务调度框架,其核心设计目标是 - 41、广州瀚农网络科技有限公司 - 42、享点科技有限公司 - 43、杭州比智科技有限公司 + - 44、圳临界线网络科技有限公司 + - 45、广州知识圈网络科技有限公司 - …… > 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-job/issues/1 ) 登记,登记仅仅为了产品推广。 @@ -791,19 +793,6 @@ XXL-JOB会为每次调度请求生成一个单独的日志文件,需要通过 调度中心API服务位置:com.xxl.job.core.biz.AdminBiz.java 调度中心API服务请求参考代码:com.xxl.job.dao.impl.AdminBizTest.java -``` -// 该地址为调度中心部署跟地址,如果调度中心部署地址变动需要做相应调整 -String addressUrl = "http://127.0.0.1:8080/xxl-job-admin".concat(AdminBiz.MAPPING); -String accessToken = null; - -AdminBiz adminBiz = (AdminBiz) new NetComClientProxy(AdminBiz.class, addressUrl, accessToken).getObject(); - -// 任务ID -int jobId = 1; -ReturnT returnT = adminBiz.triggerJob(jobId); -Assert.assertTrue(returnT.getCode() == ReturnT.SUCCESS_CODE); - -``` ## 六、版本更新日志