Document how to set up multiple event persisters (#8706)
parent
d04c2d19b3
commit
4b09b7438e
|
@ -0,0 +1 @@
|
|||
Document experimental support for running multiple event persisters.
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue