0 votes
in Service Discovery by
What is Tasklet, and what is a Chunk?

1 Answer

0 votes
by
The Tasklet is a simple interface with one method to execute. A tasklet can be used to perform single tasks like running queries, deleting files, etc. In Spring Batch, the tasklet is an interface that can be used to perform unique tasks like clean or set up resources before or after any step execution.

Spring Batch uses a ‘Chunk Oriented’ processing style within its most common implementation. Chunk Oriented Processing refers to reading the data one at a time and creating chunks that will be written out, within a transaction boundary.

Related questions

0 votes
asked Dec 20, 2019 in Service Discovery by sharadyadav1986
+1 vote
asked Dec 20, 2019 in Service Discovery by sharadyadav1986
...