spring-projects / spring-projects/spring-batch

Document how to handle asynchronous processing errors [BATCH-2773]

Open
#833 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: documentation status: waiting-for-triage type: enhancement
Dominant language
Java
Stars
3k
Forks
2.5k
Avg merge
6d 53m
Merged PRs (30d)
3

Description

Mahmoud Ben Hassine opened BATCH-2773 and commented

As discussed in PR 366, the reference documentation should be updated to explain how to listen to processing errors when using the AsyncItemProcessor. Note that the javadoc says that the ItemProcessListener.onProcessError(Object, Exception) will not be called but it would be great if the docs show how to address this requirement as explained with the example here.


Affects: 4.1.0

Issue Links:

  • BATCH-2371 ItemProcessListener.onProcessError() not called when using AsycnItemProcessor

1 votes, 1 watchers

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 with the reference documentation and the AsyncItemProcessor javadoc mentioned in the issue, then review the example in PR 366. Document how to listen for processing errors when using AsyncItemProcessor, including the limitation around ItemProcessListener.onProcessError; done means the requirement and example are clear to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.