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

spring-batch-dynamic-composite #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

OhadR
Copy link

@OhadR OhadR commented Oct 23, 2017

following this: https://stackoverflow.com/questions/46695238/spring-batch-dynamic-composite-reader-processor-writer

and this JIRA item : https://jira.spring.io/browse/BATCH-2644

Currently as far as I understand, there is no option in Spring Batch to have a dynamic composite reader/processor/writer
The idea is to have the ability to replace processor at runtime, and in case of multiple processors (AKA composite-processor), to have the option to add/remove/replace/change order of processors. As mentioned, same for reader/writer.
I thought of something like reading the processors list from DB (using cache?) and there the items (beans' names) can be changed. Does this make sense?
why is this required?
There are cases that I use processors as "filters", and it may occur that the business (the client) may change the requirements (yes, it is very annoying) and ask to switch among filters (change the priority).
Other use case is having multiple readers to get the data from different data warehouse, and again - the client changes the warehouse from time to time (integration phase), and I do not want my app to be restarted each and every time.
There are many other use cases, of course. (other cases can be found in StackOverflow, where people ask for this feature) .

@dgray16
Copy link
Collaborator

dgray16 commented Aug 18, 2024

I believe this belongs to this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants