What’s New in Spring Batch?
summary
Spring Batch 4.3 adds Java 14 records support so flatfile/DB/JSON/XML readers can bind to records without boilerplate, introduces GraalVM experimental support (requires RC testing), makes Kafka item reader start from a custom or Kafka-stored offset, adds annotation-based job listeners and a synchronized item stream writer for thread-unsafe writers. Key speedups: MongoDB writer switches to bulk ops — 20x faster in benchmarks, repository writer uses saveAll (≈2x faster for 1M items), and step-start counting moves to a DB count (≈6x faster).
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:16Safe Harbor Statement
- 2:05History of Spring Batch (2/2)
- 3:51Java 14 records support
- 6:14GraalVM support
- 7:16Kafka support refinement
- 8:35Support for annotation-based job execution listeners
- 9:33Add SynchronizedItemStreamWriter
- 12:02Other new features
- 12:49Use bulk operations in Mongoltem Writer
- 14:09Use bulk operations in RepositoryltemWriter
- 15:23Job/Step start time improvement
- 17:40Dependencies updates
- 18:29Deprecations and technical debt
- 20:09Release plan for 2020+








