Versions Compared

Key

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

...

Only basic validation is performed on the event producing stage:

  1. json validation
  2. job hash check
    1. in case there is no job with the same hash in status pending, create job in MongoDB
    2. Otherwise, we will respond with 202 (accepted) but with the previously created job id. New job will not be created in Mongo DB
  3. message with the relevant type is created in Kafka medical_events topic
  4. medical_events topic has multiple partitions
  5. Messages related to the same patient always must be sent to the same partition.

...