实践Spring Batch

Spring Batch, A lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems.

Spring Batch provides reusable functions that are essential in processing large volumes of records, including logging/tracing, transaction management, job processing statistics, job restart, skip, and resource management. It also provides more advanced technical services and features that will enable extremely high-volume and high performance batch jobs through optimization and partitioning techniques. Simple as well as complex, high-volume batch jobs can leverage the framework in a highly scalable manner to process significant volumes of information.

快速开始

1
2
3
4
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-batch</artifactId>
</dependency>

Spring Batch Admin

已经被Spring Cloud Data Flow替代

database

数据库相关脚本在spring-batch-core-4.0.1.RELEASE.jar/org/springframework/batch/core/目录下,比如:schema-mysql.sqlschema-drop-mysql.sql。 共计有9张表,以BATCH_开头,6张业务表,3张sequnce表。