From the course: Building High-Throughput Data Microservices
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Batching throughput with Spring Batch
From the course: Building High-Throughput Data Microservices
Batching throughput with Spring Batch
- [Instructor] In this video, I will go into further detail on a very popular framework for building spring applications called Spring Batch. Spring Batch has been a trusted framework for building high throughput batch applications for decades. Let's start with an overview of Spring Batch. Spring Batch is a Java project that simplifies the development of Spring Boot applications that implement batching architectures, such as reading files or records from a source system that will be stored into some target system, such as a database. Spring Batch looks like this. Each web application launches a job. A job consists of one or more steps. Each step consists of an item reader, item processor and an item writer. The Java code for the reader interface looks like this. It returns an item that is read. The return item can be any Java object. For example, it can be a primitive, such as a string or a class or a record, such as the…