Skip to content

Spring Batch

Furkan Kürşat Danışmaz edited this page Oct 27, 2018 · 3 revisions

Source Folder: spring-batch

Tech Stack:

  • spring-boot
  • spring-batch
  • log4j2 (slf4j impl)
  • project lombok

Spring Batch

Spring Batch provides reusable functions that are essential in processing large volumes of records. It provides facilities like:

  • start, stop, pause & resume job execution
  • chunk based processing
  • retry / skip etc..

Spring Batch is a great way to modularize a complex business into something that is testable in isolation for item oriented processing scenario.

Job

A job represents a Spring Batch Job. Each job can have one or more steps

Step

Simply a part of a job.

ItemReader

It is a strategy interface for providing the data

ItemProcessor

An extension point for running custom business logic.

ItemStreamWriter

An interface for the generic output operations.