Distributed scheduled job framework

Clone this repo:
  1. 75896ea Update NOTICE in elasticjob-cloud-scheduler-distribution (#2115) by 吴伟杰 · 3 days ago master
  2. 213579f Update LICENSE and NOTICE (#2114) by 吴伟杰 · 3 days ago
  3. 5fcefd1 Fix the issue #2105: NullPointerExecption caused by job configuration deleted. (#2112) by pandaapo · 3 days ago
  4. 4a970f9 Bump logback-classic from 1.1.2 to 1.2.0 in /examples (#2076) by dependabot[bot] · 12 days ago
  5. 1bde7ef Bump mysql-connector-java from 8.0.16 to 8.0.28 in /examples (#2098) by dependabot[bot] · 12 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.

You are welcome to communicate with the community via the mailing list.


GitHub release

Maven Status Build Status GitHub Workflow codecov Maintainability


Using ElasticJob developers can no longer worry about the non functional requirements such as job 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 high availability and management, and can automatically operate 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.


Maven 3.5.0 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