-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Milestone
Description
Currently, Spring Batch provides two decorators (SynchronizedItemStreamReader and SynchronizedItemStreamWriter) to synchronize thread access to ItemStreamReader#read and ItemStreamWriter#write.
While those decorators work with ItemStreams, they are not usable with non item streams as they respectively accept ItemStreamReader and ItemStreamWriter as delegates. For example, those decorators cannot be used to synchronize access to ListItemReader#read (#3741) orKafkaItemWriter#write (#3970).
The goal of this issue is to add two decorators that accept ItemReader and ItemWriter as delegates and synchronize access to the read and write operations.
beccagaspard