-
-
Save tomaszkubacki/bf1ecd01f6b04d604a583ff173aa9f14 to your computer and use it in GitHub Desktop.
Repeat DLT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: 'Event driven communication repeat and dlt' | |
boxes ids: 'component' 'repeat-0' at: [-6,0] size: [2,2] span: 1 | |
box id: account text: 'account' size: [4,1] at: [0,-1] color: black | |
box id: user text: 'balance: 10' size: [4,2] color: black | |
line at: [-7,-1] end: [-1, -1] width: 2 | |
line at: [-5,-1] end: [-5, 0] width: 2 | |
line at: [-2,-1] end: [-2, 0] width: 2 | |
box: 'event broker' at: [-7, -2] size: [3,1] color: white | |
dot id: ch1 at: [-8.5, -1.5] visible: false color: black | |
dot id: ch2 at: [-8.5, -1.5] visible: false color: black | |
step: '(1) change 1 balance to 20' | |
ch1 <- visible: true, ch1 -> +[3,0] | |
ch1 -> +[0,2.5] | |
user <- color: red | |
step: '(2) change 1 failed, went to repeat topic' | |
ch1 -> -[0,2.5] | |
ch1 -> +[3,0] | |
ch1 -> +[0,2.5] | |
step: '(3) change 2 balance to 30' | |
ch2 <- visible: true, ch2 -> +[3,0] | |
ch2 -> +[0,2.5] | |
user <- color: black text: 'balance: 30' | |
step: 'change 1 balance to 20 repeat reapeared' | |
ch1 -> -[0,2.5] | |
ch1 -> -[3,0] | |
ch1 -> +[0,2.5] | |
ch2 <- visible: false, ch2->[0,0] | |
user <- color: black text: 'balance: 20' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment