Skip to content

Instantly share code, notes, and snippets.

@nabinno
Created December 30, 2019 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nabinno/bf6e25fa4cef8805e33a57d6339909f4 to your computer and use it in GitHub Desktop.
Save nabinno/bf6e25fa4cef8805e33a57d6339909f4 to your computer and use it in GitHub Desktop.

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

actor API as A

participant Firehose as KF
actor Analytics as KA
actor Lambda as L
participant Elasticsearch as E

U -> A: request
activate U
activate A
A -> U: response
A -> KF: |source|\nput record
deactivate A

activate KF
KF -> KA: |source|\nprocess
activate KA
KA -> L: |source|\npre-process
activate L
L -> KA
deactivate L
KA -> KF
deactivate KA
KF -> S: (if delivery fails)
KF -> S: (if transformation fails)
KF -> S: |source|\nbackup record

KF -> E: |processed|\ninsert record
deactivate KF
activate E

U -> A: request
activate A
A <-> E
deactivate E
A -> U: response
deactivate A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment