Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter for processor-writer pair #114

Open
acktsap opened this issue Sep 27, 2024 · 2 comments
Open

Adapter for processor-writer pair #114

acktsap opened this issue Sep 27, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@acktsap
Copy link
Collaborator

acktsap commented Sep 27, 2024

@imbyungjun

Could you give me more detail? You mean this format?

public interface ItemStreamProcessorWriter<I, O>
	extends ItemProcessorDelegate<I, O>, ItemStreamWriterDelegate<O> {
}
@acktsap acktsap added the enhancement New feature or request label Sep 27, 2024
@imbyungjun
Copy link
Contributor

@acktsap

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
Copy link
Collaborator Author

acktsap commented Oct 11, 2024

@imbyungjun

I think it's good to provide such interface for users. Shell you make a pr for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants