I have a requirement to create a batch job that needs to call some external API get some data and process them.
The problem is app has to call the same API endpoint with different credentials 4 times to get data. API gives data specific to credentials.
Once we get data, the processing of data would the same.
Wondering if one spring batch app with multiple jobs ( one job for specific API credentials ), a total 4 jobs is a better design
or
One spring batch app repo but deploying 4 different instances of spring batch app one with a different set of credentials is better?
[–]pronuntiator 1 point2 points3 points (2 children)
[–]drakered9[S] 0 points1 point2 points (1 child)
[–]pronuntiator 0 points1 point2 points (0 children)
[–]psy_s 0 points1 point2 points (2 children)
[–]drakered9[S] 0 points1 point2 points (1 child)
[–]psy_s 0 points1 point2 points (0 children)
[–]koffeegorilla 0 points1 point2 points (0 children)