diff options
author | Erik Johnston <erik@matrix.org> | 2020-11-03 10:27:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 10:27:11 +0000 |
commit | 4b09b7438e99e379c483026fb578f92fd7e30d9f (patch) | |
tree | 82d8c7bf3e3b06e3c0f7891594586d7f1f67f7fb | |
parent | grammar (diff) | |
download | synapse-4b09b7438e99e379c483026fb578f92fd7e30d9f.tar.xz |
Document how to set up multiple event persisters (#8706)
Diffstat (limited to '')
-rw-r--r-- | changelog.d/8706.doc | 1 | ||||
-rw-r--r-- | docs/workers.md | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/changelog.d/8706.doc b/changelog.d/8706.doc new file mode 100644 index 0000000000..96a0427e73 --- /dev/null +++ b/changelog.d/8706.doc @@ -0,0 +1 @@ +Document experimental support for running multiple event persisters. diff --git a/docs/workers.md b/docs/workers.md index cd1f823b77..4e046bdb31 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -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 |