setup-batch-job-workers

Community

Automate batch job scheduling with RabbitMQ.

AuthorEdgame2
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Sets up and coordinates scheduled batch jobs using RabbitMQ to trigger and track long-running data processing workflows across orchestrator and worker containers.

Core Features & Use Cases

  • Scheduler: uses node-cron to publish workflow.job.trigger to coder_events for defined jobs like risk-clustering, account-health, industry-benchmarks, risk-snapshot-backfill, propagation, model-monitoring, and outcome-sync.
  • Queue Setup: binds bi_batch_jobs to coder_events for durable messaging and ensures rabbitmq.queue_batch_jobs is configured in both orchestrator and workers.
  • Worker: BatchJobWorker consumes from bi_batch_jobs and routes on job type to the corresponding service, then publishes workflow.job.completed or workflow.job.failed with timestamps.

Quick Start

Start the Batch Job Scheduler by calling await batchJobScheduler.start() in server.ts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: setup-batch-job-workers
Download link: https://github.com/Edgame2/castiel2/archive/main.zip#setup-batch-job-workers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.