spring-projects / spring-projects/spring-batch
Getting information about job executions, waiting to be started [BATCH-2831]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 2.5k
- Avg merge
- 6d 53m
- Merged PRs (30d)
- 3
Description
Dmytro Patserkovskyi opened BATCH-2831 and commented
We have possibility go get all running jobs via JobExplorer
Set<JobExecution> executions = jobExplorer.findRunningJobExecutions("jobName");
This method returns all executions of the job with status STARTED. It would be great to have possibility to get all job executions, which are waiting in the queue to be started (with status STARTING and without start time). Something like:
Set<JobExecution> executions = jobExplorer.findStartingJobExecutions("jobName");
https://stackoverflow.com/questions/56986334/spring-batch-find-starting-job-executions
No further details from BATCH-2831
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the JobExplorer interface and its findRunningJobExecutions method, then trace the related implementation. Add support for finding executions with STARTING status and no start time, and verify that the new query returns the queued executions for the requested job name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100