flâneur — a map of the web's best reading

Spring Batch using Partitioner | Baeldung

baeldung.com · 1,586 words · saved by 1 readers

In our previous introduction to Spring Batch, we introduced the framework as a batch-processing tool. We also explored the configuration details and the implementation for a single-threaded, single process job execution. To implement a job with some parallel processing, a range of options is provided. At a higher level, there are two modes of parallel processing: In this quick article, we’ll discuss the partitioning of Step, which can be implemented for both single process and multi-process jobs. Spring Batch with partitioning provides us the facility to divide the execution of a Step: Partitioning Overview The above picture shows an implementation of a Job with a partitioned Step. There’s a Step called “Master”, whose execution is divided into some “Slave” steps. These slaves can take the place of a master, and the outcome will still be unchanged. Both master and slave are instances of Step. Slaves can be remote services or just locally executing threads. If required, we can pass data

eBook – Guide Spring Cloud – NPI EA (cat=Spring Cloud) Let's get started with a Microservice Architecture with Spring Cloud: >> Join Pro and download the eBook eBook – Mockito – NPI EA (tag = Mockito) Mocking is an essential part of unit testing, and the Mockito library makes it easy to write clean and intuitive unit tests for your Java code. Get started with mocking and improve your application tests using our Mockito guide : Download the eBook eBook – Java Concurrency – NPI EA (cat=Java Concurrency) Handling concurrency in an application can be a tricky pr

Explore this link on the map →

related reading