I have following job to be processed at certain time interval or on ad-hoc basis.
Steps in the job are:
Call twitter api and gather tweets for bunch of users and write them
in a file
Read them from a file and Process them
- Dump processed
results in database
I want UI as well, where I can trigger a job on ad-hoc basis, moreover I should be able to provide parameters to it from UI.
Was thinking of Spring batch for this but it is for more of a read -> process -> write kind of job. Here in first step I am generating data which is read by second step. Not sure if I can still use Spring batch for this OR there could be better way for this.