Spring Boot 4.1 introduces MongoDB support for Spring Batch’s JobRepository, eliminating the need to maintain a separate SQL database just for batch metadata. The post walks through a complete ETL example that reads from CSV and writes to PostgreSQL while storing batch job state in MongoDB, covering tasklet-based steps, chunk-oriented processing, fault tolerance with retry policies, GraalVM native image compilation, and lazy datasource connection retrieval.