Distributed scheduled job framework

Clone this repo:
  1. 724c8d4 Only leader can set resharding flag (#1472) by 吴伟杰 · 9 hours ago master
  2. 6ad35e3 Create a new module for error-handler (#1469) (#1470) by Tboy · 2 days ago
  3. f3d87e3 Trigger one-off job via Zookeeper (#1457) by 吴伟杰 · 6 days ago
  4. 5e1464d add editURL for docs (#1455) by kimmking · 7 days ago
  5. ea1ad33 Update companies list (#1450) by 吴伟杰 · 10 days ago

ElasticJob - distributed scheduled job solution

Official website: https://shardingsphere.apache.org/elasticjob/

Stargazers over time

ElasticJob is a distributed scheduling solution consisting of two separate projects, ElasticJob-Lite and ElasticJob-Cloud.

Through the functions of flexible scheduling, resource management and job management, it creates a distributed scheduling solution suitable for Internet scenarios, and provides a diversified job ecosystem through open architecture design. It uses a unified job API for each project. Developers only need code one time and can deploy at will.

ElasticJob became an Apache ShardingSphere Sub-project on May 28 2020.

Welcome communicate with community via mail list.


GitHub release

Maven Status Build Status Coverage Status


Using ElasticJob can make developers no longer worry about the non functional requirements such as jobs scale out, so that they can focus more on business coding; At the same time, it can release operators too, so that they do not have to worry about jobs high availability and management, and can automatic operation by simply adding servers.


A lightweight, decentralized solution that provides distributed task sharding services.

ElasticJob-Lite Architecture


Uses Mesos to manage and isolate resources.

ElasticJob-Cloud Architecture

Resource AssignNoYes
Job ExecutionDaemonDaemon + Transient
Deploy DependencyZooKeeperZooKeeper + Mesos


  • Elastic Schedule

    • Support job sharding and high availability in distributed system
    • Scale out for throughput and efficiency improvement
    • Job processing capacity is flexible and scalable with the allocation of resources
  • Resource Assign

    • Execute job on suitable time and assigned resources
    • Aggregation same job to same job executor
    • Append resources to newly assigned jobs dynamically
  • Job Governance

    • Failover
    • Misfired
    • Self diagnose and recover when distribute environment unstable
  • Job Dependency (TODO)

    • DAG based job dependency
    • DAG based job item dependency
  • Job Open Ecosystem

    • Unify job api for extension
    • Support rich job type lib, such as dataflow, script, HTTP, file, big data
    • Focus business SDK, can work with Spring IOC
  • Admin Console

    • Job administration
    • Job event trace query
    • Registry center management

Environment Required


Java 8 or above required.


ZooKeeper 3.6.0 or above required. See details

Mesos (ElasticJob-Cloud only)

Mesos 1.1.0 or compatible version required (For ElasticJob-Cloud only). See details