{"id":25937024,"url":"https://github.com/thkwag/spring-cloud-dataflow-quartz-scheduler","last_synced_at":"2026-05-09T11:49:06.600Z","repository":{"id":279032559,"uuid":"937531487","full_name":"thkwag/spring-cloud-dataflow-quartz-scheduler","owner":"thkwag","description":"Spring Cloud Data Flow Quartz Scheduler","archived":false,"fork":false,"pushed_at":"2025-02-23T09:56:17.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T10:26:50.530Z","etag":null,"topics":["quartz","quartz-scheduler","spring-batch","spring-cloud-data-flow","spring-cloud-dataflow","spring-integration"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thkwag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-23T09:39:00.000Z","updated_at":"2025-02-23T09:57:41.000Z","dependencies_parsed_at":"2025-02-23T10:27:00.270Z","dependency_job_id":"8bd9d800-a771-435d-ab2c-8704d9d24185","html_url":"https://github.com/thkwag/spring-cloud-dataflow-quartz-scheduler","commit_stats":null,"previous_names":["thkwag/spring-cloud-dataflow-quartz-scheduler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkwag%2Fspring-cloud-dataflow-quartz-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkwag%2Fspring-cloud-dataflow-quartz-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkwag%2Fspring-cloud-dataflow-quartz-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkwag%2Fspring-cloud-dataflow-quartz-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thkwag","download_url":"https://codeload.github.com/thkwag/spring-cloud-dataflow-quartz-scheduler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241773226,"owners_count":20018065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["quartz","quartz-scheduler","spring-batch","spring-cloud-data-flow","spring-cloud-dataflow","spring-integration"],"created_at":"2025-03-04T02:55:16.833Z","updated_at":"2026-05-09T11:49:06.590Z","avatar_url":"https://github.com/thkwag.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Cloud Data Flow Quartz Scheduler\n\nA scheduling solution for Spring Cloud Data Flow that works in any environment - local, VM, or Kubernetes.\n\n## Why This Project?\n\nSpring Cloud Data Flow only supports scheduling in Kubernetes environments. According to the [official documentation](https://dataflow.spring.io/docs/feature-guides/batch/scheduling/#scheduling-a-batch-job):\n\n\u003e \"Spring Cloud Data Flow does not offer an out-of-the-box solution for scheduling task launches on the local platform.\"\n\nThis project provides a complete scheduling solution that:\n- Works in any environment (local, VM, cloud) without Kubernetes\n- Integrates seamlessly with Spring Cloud Data Flow\n- Uses Quartz for reliable and flexible scheduling\n\n\n![alt text](docs/images/scdf-quartz-scheduler.png)\n\n\n## Features\n\n- **Simple Setup**: Easy to run in any environment\n- **Full Integration**: Works with existing Spring Cloud Data Flow tasks\n- **Flexible Scheduling**: Supports cron expressions and various triggers\n- **Dashboard**: Includes UI for schedule management\n- **High Availability**: Supports clustered environments\n- **Job History**: Tracks all task executions\n\n## How It Works\n\nThis library automatically configures the Quartz scheduler to be used instead of the local scheduler when the platform type is set to `quartz`. The implementation:\n\n1. Provides a Quartz Scheduler implementation for Spring Cloud Data Flow\n2. Automatically creates the necessary database tables\n3. Sets the Quartz scheduler as the primary scheduler with higher priority\n4. Overrides the local scheduler with a no-op implementation\n5. Supports all standard SCDF scheduling operations\n\n## Quick Start\n\n### Prerequisites\n\n- JDK 17+\n- Spring Cloud Data Flow Server\n- MySQL/PostgreSQL\n- Docker and Docker Compose (for the quickest setup)\n\n### Run with Docker\n\nThe project includes shell scripts to manage the complete lifecycle:\n\n```bash\n# Start the environment (builds the project and starts all containers)\n./docker/start.sh\n\n# Run a test to verify scheduler functionality\n./docker/run-test.sh\n\n# Stop all containers\n./docker/stop.sh\n```\n\n### Integration into Existing SCDF Setup\n\nTo integrate this scheduler into your existing Spring Cloud Data Flow setup:\n\n1. Add the JAR file to your SCDF server's classpath\n2. Configure the following properties (reference `docker/docker-compose-quartz.yml` for examples):\n\n```yaml\n# SCDF Scheduler Configuration\nspring.cloud.dataflow.features.schedules-enabled: true\nspring.cloud.dataflow.features.tasks-enabled: true\nspring.cloud.dataflow.task.scheduler.local.platform-type: quartz\n\n# Quartz Configuration\nspring.quartz.job-store-type: jdbc\nspring.quartz.jdbc.initialize-schema: always\nspring.quartz.auto-startup: true\n\n# Database-specific Quartz Configuration (PostgreSQL example)\nspring.quartz.properties.org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate\nspring.quartz.properties.org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX\nspring.quartz.properties.org.quartz.jobStore.useProperties: true\nspring.quartz.properties.org.quartz.scheduler.instanceName: spring-cloud-dataflow-scheduler\nspring.quartz.properties.org.quartz.scheduler.instanceId: AUTO\nspring.quartz.properties.org.quartz.jobStore.tablePrefix: QRTZ_\nspring.quartz.properties.org.quartz.jobStore.isClustered: true\nspring.quartz.properties.org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool\nspring.quartz.properties.org.quartz.threadPool.threadCount: 10\n```\n\n## Documentation\n\n- [Spring Cloud Data Flow](https://dataflow.spring.io/docs/feature-guides/batch/scheduling/)\n- [Quartz Scheduler](http://www.quartz-scheduler.org/documentation/)\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthkwag%2Fspring-cloud-dataflow-quartz-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthkwag%2Fspring-cloud-dataflow-quartz-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthkwag%2Fspring-cloud-dataflow-quartz-scheduler/lists"}