79499776

Date: 2025-03-11 06:06:00
Score: 4
Natty: 4.5
Report link

I too faced a similar issue when using parallel stream API.

Below is the scenario; I have a list of transaction objects in reader part of a spring batch , when this list if passed to processor, used parallel stream to process the transaction object in a multi threaded mode. but unfortunately, the parallel stream is not consistent. it is skipping the records at times.

Any fix added in java.util.stream API?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ram