Open
Description
Spring Batch 6 introduces support for "resource less" infrastructure. With this mode, a database is not required and this could be helpful for those who do not need it and are currently forced to add an in-memory database for that purpose.
Spring Batch 6 is similar to Spring Session in that regards with a EnableJdbcJobRepository
that can be used by the user to opt-in for database storage.
The biggest problem that I can see now is that Spring Boot extends from the base configuration to customize features and for Spring Session we "just" import the configuration class. With JdbcDefaultBatchConfiguration
extending from DefaultBatchConfiguration
, it makes such extension complicated as we'd have to replicate the overrides in two classes.