-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredis-pub-sub-TP_Error.plantuml
46 lines (41 loc) · 1.12 KB
/
redis-pub-sub-TP_Error.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
' SPDX-License-Identifier: Apache-2.0
@startuml Main flow + Error Handling
participant "Channel Router Setup Processor" as crsp
participant "Rule Processor" as rp
participant "redis" as r
participant "Typology Processor" as t
participant "Channel Aggreggation Decision Processor" as cadp
group Startup
t -> r: Subscribe RuleResultChannel
end group
group Main Success
crsp->rp: HTTP POST RuleRequest
rp->r: PUBLISH RuleResultChannel RuleResult
r->t: RuleResult
r->rp: 1
note over r, rp
Number of clients that
received the message
end note
rp->crsp: Done
t->cadp: HTTP POST TypologyResult
end group
group #LightPink ALT TP Error
crsp->rp: HTTP POST RuleRequest
rp->r: PUBLISH RuleResultChannel RuleResult
r->t: RuleResult
r->rp: 1
note over r, rp
Number of clients that
received the message
end note
rp->crsp: Done
t->t: Internal Error
note over t #Orange
No guaranteed processing of Rule Result -
causes this transaction to never finish,
as Typology never finishes, as this Rule
Result was lost.
end note
end group
@enduml