I have this one service that integrates some third party data provider with our systems. The service runs as Spring Batch jobs, so every step is a single job executed one after another.
The responsibilities of the service:
-
gathering data from different files, databases and other services
-
process the data
-
produce one unified entity from the gathered data
-
update several other systems with unified entity
I have no impact on the framework or tech stack here.
I faced the following issue: how to update other services and mark somehow that the particular update succeeded?
I thought about the db flags for every service to be updated, but this approach seems not to scale well (for every next service someone has to remember to add the flag).
There are broadcast patterns or bi-directional sync patterns but are they applicable for my scenario? How are they implemented?
Aucun commentaire:
Enregistrer un commentaire