Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Document how to set up multiple event persisters (#8706)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Nov 3, 2020
1 parent d04c2d1 commit 4b09b74
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/8706.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document experimental support for running multiple event persisters.
12 changes: 12 additions & 0 deletions docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,18 @@ stream_writers:
events: event_persister1
```

The `events` stream also experimentally supports having multiple writers, where
work is sharded between them by room ID. Note that you *must* restart all worker
instances when adding or removing event persisters. An example `stream_writers`
configuration with multiple writers:

```yaml
stream_writers:
events:
- event_persister1
- event_persister2
```

#### Background tasks

There is also *experimental* support for moving background tasks to a separate
Expand Down

0 comments on commit 4b09b74

Please sign in to comment.