spring-projects / spring-projects/spring-batch

StepContribution should provide a variable incrementReadCount() [BATCH-1933]

Open
#1,659 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

Costin Leau opened BATCH-1933 and commented

StepContribution#incrementReadCount does not allow an argument to be passed in (as opposed to the other increment methods) which forces the clients to use loops to add more then 1 item.


Affects: 2.1.8

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 by locating StepContribution and its incrementReadCount method. Compare it with the other increment methods that accept an argument, then verify that read counts can be increased by more than one without client-side loops.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.