Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Medici is another portion of the Brown Dog platform.  Medici stores and curates allows for user curation of data uploaded to the system, and allows users to actively curate said data.  In order to extract information from data uploaded into the Medici content repository, Medici requires a connection to a RabbitMQ bus in order to receive notifications when new data has been uploaded.  It also requires an extractor, which as the name suggests extracts the desired information from the uploaded data.  The information extracted could be metadata (e.g. geolocation, file size, file creation date), a preview of the uploaded file, provenance of the file, and more.  Below, example code is given in multiple languages that describes how to create an extractor for the Medici system.

...

Each extractor must first connect to the RabbitMQ bus.  Examples of how this may be accomplished in various languages are presented below.  A receiver will consume data to be extracted from RabbitMQ and process the information that has been uploaded.  Below, the receivers attempt to extract a word count from an uploaded text document.

...