Skip to content

Instantly share code, notes, and snippets.

@nabinno
Created December 30, 2019 03:30
Show Gist options
  • Select an option

  • Save nabinno/bf6e25fa4cef8805e33a57d6339909f4 to your computer and use it in GitHub Desktop.

Select an option

Save nabinno/bf6e25fa4cef8805e33a57d6339909f4 to your computer and use it in GitHub Desktop.

Revisions

  1. nabinno created this gist Dec 30, 2019.
    46 changes: 46 additions & 0 deletions uml_of_firehose.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    ![](https://raw.githubusercontent.com/nabinno/dojo/master/qwiklabs/introduction_to_amazon_kinesis_firehose.png)

    ```uml
    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
    ```