ganesh-sadanala/distributed-task-scheduler ? reverse-engineered prompt

Reverse engineered prompt

Build me a distributed task scheduler in Java with Spring Boot that uses Redis to coordinate work across multiple nodes.

I want to be able to send a task to a REST endpoint like /tasks, with fields like id, type, priority, status, and payload, and have the system store it, queue it, and distribute it for execution across several running containers. Please make it support task priority, persistence, and basic fault tolerance so if one node fails the work can still continue on another node. Use Redis features like pub and sub, data structures, and Lua scripting where it makes sense, and add a circuit breaker so repeated failures do not keep hammering broken parts.

It should also work with Redis Sentinel for high availability and automatic failover, and there should be a Docker Compose setup that lets me run a small distributed test environment locally. If you need to look up current Redis or Spring Boot docs online to make the setup clean, go ahead.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab