spring-projects / spring-projects/spring-batch

Getting information about job executions, waiting to be started [BATCH-2831]

Open
#783 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: core status: waiting-for-triage type: feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.