You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/18 03:10:04 UTC

[shardingsphere-elasticjob] branch master updated: Translate docs/content/features/job-type.en.md (#1119)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new db92757  Translate docs/content/features/job-type.en.md (#1119)
db92757 is described below

commit db92757a1d48bfdfb0ff73dc95792b03bfb75105
Author: 于玉桔 <zh...@apache.org>
AuthorDate: Sat Jul 18 11:09:58 2020 +0800

    Translate docs/content/features/job-type.en.md (#1119)
---
 docs/content/features/job-type.en.md | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/docs/content/features/job-type.en.md b/docs/content/features/job-type.en.md
index d5b5d35..53f6b49 100644
--- a/docs/content/features/job-type.en.md
+++ b/docs/content/features/job-type.en.md
@@ -5,4 +5,22 @@ weight = 6
 chapter = true
 +++
 
-TODO
+Flexible customized jobs is the most important design change in ElasticJob 3.x .
+The new version is based on the design concept of the Apache ShardingSphere pluggable architecture, and the new Job API was created.
+It is intended to enable developers to expand the types of jobs in a more convenient and isolated way, and create an ecosystem of ElasticJob jobs.
+
+While ElasticJob provides functions such as elastic scaling and distributed management of jobs, it does not limit the types of jobs.
+It uses flexible job APIs to decouple jobs into job interfaces and actuator interfaces.
+Users can customize new job types, such as script execution, HTTP service execution, big data jobs, file jobs, etc.
+At present, ElasticJob has built-in simple jobs, data flow jobs, and script execution jobs, and has completely opened up the extension interface. Developers can introduce new job types through SPI, and they can easily give back to the community.
+
+## Job interface
+
+ElasticJob jobs can be divided into two types: `Class-based Jobs` and `Type-based Jobs`.
+
+`Class-based Jobs` are directly used by developers, who need to implement the job interface to realize business logic. Typical representatives: Simple type, Dataflow type.
+`Type-based Jobs` only need to provide the type name, developers do not need to implement the job interface, but use it through external configuration. Typical representatives: Script type, HTTP type.
+
+## Actuator interface
+
+It is used to execute user-defined job interfaces and weave into the ElasticJob ecosystem through Java's SPI mechanism.