Overview

参考文档分为以下几个部分:

Spring Batch Introduction

Background, usage scenarios, and general guidelines.

Spring Batch Architecture

Spring Batch architecture, general batch principles, batch processing strategies.

What’s new in Spring Batch 5.1

New features introduced in version 5.1.

The Domain Language of Batch

Core concepts and abstractions of the Batch domain language.

Configuring and Running a Job

Job configuration, execution, and administration.

Configuring a Step

Step configuration, different types of steps, and controlling step flow.

Item reading and writing

ItemReader and ItemWriter interfaces and how to use them.

Item processing

ItemProcessor interface and how to use it.

Scaling and Parallel Processing

Multi-threaded steps, parallel steps, remote chunking, and partitioning.

Repeat

Completion policies and exception handling of repetitive actions.

Retry

Retry and backoff policies of retryable operations.

Unit Testing

Job and Step testing facilities and APIs.

Common Patterns

Common batch processing patterns and guidelines.

Spring Batch Integration

Integration between Spring Batch and Spring Integration projects.

Monitoring and metrics

Batch jobs monitoring and metrics.

Tracing

Tracing with Micrometer.

提供了以下附录:

List of ItemReaders and ItemWriters

List of all provided item readers and writers.

Meta-Data Schema

Core tables used by the Batch domain model.

Batch Processing and Transactions

Transaction boundaries, propagation, and isolation levels used in Spring Batch.

Glossary

Glossary of common terms, concepts, and vocabulary of the Batch domain.

Frequently Asked Questions

Frequently Asked Questions about Spring Batch.