You are previewing Spring Batch in Action.

Spring Batch in Action

Cover of Spring Batch in Action by Arnaud Cogoluegnes... Published by Manning Publications
O'Reilly logo

Chapter 12. Monitoring jobs

This chapter covers

  • Understanding the job metadata managed by Spring Batch
  • Using Spring Batch objects to interact with the job metadata
  • Monitoring jobs

In the real world, errors occur when running batch jobs. Batch jobs exchange data between different information systems and tools, and it’s not always easy to guarantee consistency among these systems. Detecting job errors is more difficult because jobs don’t require user interaction during execution. Detecting errors is also more challenging because applications generally execute batch jobs in the background.

In some cases, rerunning batch jobs is enough to solve problems, such as when a system like a database is temporarily down. When errors are caused by bad ...

The best content for your career. Discover unlimited learning on demand for around $1/day.