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 ...

Get Spring Batch in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.