Spring Batch 5.2 and Beyond: What’s New and What’s Coming Next
summary
Spring Batch 5.2 adds a MongoDB job repository (document model, Spring Data) that benchmarks ~2x faster than Postgres on a 100k-item job (41s → 19s), plus a resources job repository (in-memory, near-instant, two orders faster) for idempotent runs. New features include a composite item reader, functional adapters for Supplier/Consumer, and concurrent steps built on a blocking queue (stage/event-driven). Spring Batch 6 plans new chunk/concurrency models, remote step support, Java 17 baseline, and 5.2 commercial support through 2032 (open-source support ends mid‑2026).
AI-written summary · about
chapters (13)
- 0:00Introduction and overview
- 1:48Spring Batch 5.2 status
- 4:23MongoDB job repository
- 10:07In-memory job repository
- 13:17Composite item reader
- 17:35Concurrent steps with queues
- 30:47Functional adapters for batch
- 33:58Spring Batch 6 features
- 35:02New chunk processing model
- 37:08New concurrency model
- 49:52Remote step support
- 52:00Spring Boot integration
- 55:36Support policies and timelines








