Skip to content

Commit fe33cc1

Browse files
committed
svg
1 parent cbc07fa commit fe33cc1

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

docs/config/_default/hugo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ languageCode = "en-US"
1111
paginate = 10
1212
rssLimit = 10
1313
summarylength = 20 # 70 (default)
14-
timeout = "90s" # Needed for kroki
1514

1615
# Multilingual
1716
defaultContentLanguage = "en"

docs/content/docs/cqrs.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -202,25 +202,8 @@ In the scenario, when we have multiple event types on one topic, you have two op
202202
- One handler group can support multiple event types,
203203
- When message arrives to the topic, Watermill will match it to the handler in the group based on event type
204204

205-
```kroki {type=mermaid}
206-
graph TD
207-
subgraph Individual Handlers
208-
E[Event Bus] --> S1[Subscriber 1]
209-
E --> S2[Subscriber 2]
210-
E --> S3[Subscriber 3]
211-
S1 --> H1[Handler 1]
212-
S2 --> H2[Handler 2]
213-
S3 --> H3[Handler 3]
214-
end
215-
216-
subgraph Group Handlers
217-
EB[Event Bus] --> SharedSub[Shared Subscriber]
218-
SharedSub --> GH[Handler Group]
219-
GH --> GH1[Handler 1]
220-
GH --> GH2[Handler 2]
221-
GH --> GH3[Handler 3]
222-
end
223-
```
205+
206+
<img src="/img/group-handlers.svg" alt="Group Handlers" style="width:100%; background-color: white; padding: ;">
224207

225208
**Event Handler groups are helpful when you have multiple event types on one topic and you want to maintain order of events.**
226209
Thanks to using one subscriber instance and consumer group, events will be processed in the order they were sent.

0 commit comments

Comments
 (0)