Skip to content

Commit

Permalink
improve CQRS event groups docs
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed Dec 16, 2024
2 parents e25e8b4 + d414391 commit 749927c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _examples/basic/6-cqrs-ordered-events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ The system maintains:
If events won't be ordered, and `SubscriberSubscribed` would arrive after `SubscriberUnsubscribed` event,
the subscriber will be still subscribed.

## Possible improvements

In this example, we are using global `events` and `commands` topics.
You can consider splitting them into smaller topics, for example, per aggregate type.

Thanks to that, you can scale your application horizontally and increase the throughput and processing less events.

## Running

```bash
Expand Down

0 comments on commit 749927c

Please sign in to comment.