Adapter for processor-writer pair
Opened this issue · 3 comments
acktsap commented
Could you give me more detail? You mean this format?
public interface ItemStreamProcessorWriter<I, O>
extends ItemProcessorDelegate<I, O>, ItemStreamWriterDelegate<O> {
}
imbyungjun commented
Actually, my colleague had to use flux and a common writer, so like this.
public interface ItemStreamFluxReaderProcessor<I, O>
extends ItemStreamFluxReaderDelegate<I>, ItemStreamFluxProcessorDelegate<I, O> {
}
I'm not sure if spring-batch-plus
need to support all combinations of reader, processor, writer. But if you accept some of these kind of interfaces, I'll make a pull request.
acktsap commented
I think it's good to provide such interface for users. Shell you make a pr for it?
acktsap commented
todo list
- kotlin extensions
- adapter??