Announcement Announcement Module
No announcement yet.
How to Monitor Jobs? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Monitor Jobs?

    Ideally, I want to monitor the job by watching the current step, the number of chunks processed and so on in real time, with something like progress bars.

    I know Spring Batch Admin, a web-based monitor. I wonder if it can display job status in real-time, or I have to refresh the web pages myself.

    How do you monitor jobs?

  • #2
    Spring Batch Admin has a JSON API. You could write a JavaScript poller really quickly. If you want to add fancy status bars that's a bit more work (if you want to contribute it back to Spring Batch Admin even better). There is also JMX support in Spring Batch Admin, so you might get some mileage from JMX clients if they have polling and alerts built in.