Skip to content

Introduce a modern command line batch operator #4899

@fmbenhassine

Description

@fmbenhassine

Spring Batch provided a CommandLineJobRunner since version 1. While this runner served its purpose well over the years, it started to show some limitations when it comes to extensibility and customisation. Many issues like static initialisation, non-standard way of handling options and parameters, lack of extensibility, etc have been reported like #1309 and #1666.

Moreover, all these issues made it impossible to reuse that runner in Spring Boot, which resulted in duplicate code in both projects as well behaviour divergence (like job parameters incrementer behaviour differences) that is confusing to many users.

The goal of this issue is to create a modern version of CommandLineJobRunner that is customisable, extensible and updated to the new changes introduced in Spring Batch 6.

Metadata

Metadata

Assignees

Labels

in: corestatus: for-internal-teamIssues that are planned to be resolved by the Spring Batch team, and not open for contributions.type: feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions