I’ve a big flow service and because of its size, I’m considering to split it into 2 dedicated services tasks (service1 and service2).
main => service1 => service2
------ <= service1<=
I have a question about a document list (let’s call it error) used by service1 and service2 (but not used by external other services).
If service1 has error defined as OUTPUT, what would you do for the service2 :
- would you add the error documentlist in INPUT/OUTPUT of the service2
(mapping OUPUT service1.error --> INPUT service2.error and mapping OUPUT service2.error --> INPUT service1.error))
- or because the service2 is a sub service, do you just leave service2 read the documentlist in the current pipeline ?
(in this case, service2 don’t need neither INPUT or OUTPUT)