Enriching multiple instantiations of one record in import workflow simultaneously
Until now I haven't been aware that the different instantiations of a record (digitalObject, physicalObject, proper record metadata) are serialized in a message each. However this is a problem for the media-metadata-extractor, which must enrich the record
entity as well as its digital object. The information required for the enrichment, the link to the media resource, is only available in the digitalObject. Right now I see two strategies to solve this problem, and I'd like to discuss them with you, @jonas.waeber and @lionel.walter:
- Keeping all information regarding one record in one message and probably splitting them after the enriching step in
media-metadata-extractor
- Aggregating the needed information in
media-metadata-extractor
and enriching only after each required part of the record has arrived in the service
What do you think?