r/SpringBoot • u/engleangsam • Oct 15 '26
Question How do you monitor, schedule and restart Spring Batch jobs in production?
I work with Spring Batch and keep running into the same gap, so I’m trying to learn how other teams deal with it.
Spring Batch is great at the processing itself (chunks, skip/retry, restart). But around it I’ve found almost nothing built in:
- a UI to see job and step status without querying the
BATCH_*tables - scheduling and job-to-job dependencies (run A, then B and C, then D)
- alerts when a job fails, gets stuck in STARTED, or runs much longer than usual
- execution logs tied to a specific job run
- a safe way to launch, stop, or restart a failed job from a screen
From what I can tell, Spring Batch Admin is retired and Spring Cloud Data Flow is no longer maintained as open source, so I’m not sure what teams use now.
For those running Spring Batch in production:
- How do you schedule and chain jobs (cron, Quartz, Jenkins, Airflow, Control-M, something custom)?
- How do you find out a job failed or hung, and how do you see what happened?
- How do you restart failed jobs, and who does it?
- What’s the most painful part of your current setup?
I’m not selling anything. I’m researching whether it’s worth building an open-source tool for this, and I’d rather hear real experiences before writing any code. Even a short answer helps, and I’m happy to share a summary of what I learn.
2
u/starbuxman Oct 15 '26
There are community options here https://github.com/making/spring-batch-dashboard and https://github.com/tuxdevelop/spring-batch-lightmin
2
u/Sure_Host_4255 Oct 15 '26
Did same research, then just vibecoded my own monitor panel
2
u/rdehuyss Oct 15 '26
You just use u/JobRunr.
1
u/MadPro_Nero Oct 16 '26
When I was working with spring batch, we have been using quartz job to trigger batch jobs, which at the end would schedule a dependent job if needed.
Jobs graph have been separately persisted in DB + custom UI to view job runs / create new jobs graphs.
1
u/ducki666 Oct 16 '26
There is Sping Cloud Data Flow.
1
u/LongCelebration4425 20d ago
I just made this free open-source app to monitor jobs here https://silencewatch.com/, you can also use the online version which is freemium. Also the SpringBoot integration automaticaly discover all your jobs at runtime. Would love to have your feedback if it fit your need !
0
u/[deleted] Oct 16 '26
[removed] — view removed comment