Spring
Follow
Spring Batch 6.1.0-RC1 and 6.0.6 available now!
Spring Batch 6.1.0-RC1 and 6.0.6 are now available, featuring new enhancements and bug fixes. A major highlight of 6.1.0-RC1 is the introduction of the @JobParameter annotation for simpler job parameter injection. The new PageableItemReader offers a type-safe alternative to RepositoryItemReader, utilizing functions for data retrieval. JsonLineMapper is now agnostic to specific JSON libraries, supporting various object types and custom marshallers. Complementing this, the new JsonLineAggregator enables writing items to JSON Lines files.The RemoteChunkingManagerBuilder simplifies the configuration of remote chunking manager steps. DefaultChunkProcessor replaces the deprecated SimpleChunkProcessor for processing chunks outside of a step context. JDBC DAOs have been migrated to use Spring Framework's JdbcClient, providing a more fluent API and named parameter support. Significant performance improvements have been made, particularly in job launch and restart operations, reducing query counts. Partitioned steps also see memory usage greatly reduced through a new JobRepository method.Additional query optimizations in the JDBC job repository further enhance performance by eliminating redundant database calls during various operations. Contributors are thanked, and feedback is welcomed as the 6.1 GA release approaches. The release notes for both versions offer a comprehensive list of all changes.