Do you use a persistent job repository? #4874
Replies: 1 comment 1 reply
-
We have use cases where a Spring Batch job is implemented as a command line application (e.g., a Spring Boot executable JAR), and such an application is scheduled on Unix via cron on at least two servers, with a delta between each schedule. As all application executions share the same database for batch metadata, we can ensure that the corresponding job runs at most once (given that the same identifying parameters are provided), and is also tolerant to failures or planned downtime. We also have other use cases where batch metadata is not relevant, and such applications/jobs run as command-line applications, but with an in-memory database like H2 (we will migrate to the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The answer is most likely "it depends", but we would like to know how frequently users do actually need a persistent store for batch meta-data.
If needed, please add a comment and elaborate on your use case(s).
6 votes ·
Beta Was this translation helpful? Give feedback.
All reactions