mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 23:48:27 +00:00
Adapt changes to config
This commit is contained in:
parent
bc3fc705f7
commit
1436ac8a51
1 changed files with 13 additions and 25 deletions
|
@ -64,35 +64,23 @@ global:
|
||||||
# to other servers and the federation API will not be exposed.
|
# to other servers and the federation API will not be exposed.
|
||||||
disable_federation: false
|
disable_federation: false
|
||||||
|
|
||||||
# Configuration for Kafka/Naffka.
|
# Configuration for NATS JetStream
|
||||||
kafka:
|
jetstream:
|
||||||
# List of Kafka broker addresses to connect to. This is not needed if using
|
# A list of NATS addresses to connect to. If none are specified, an
|
||||||
# Naffka in monolith mode.
|
# internal NATS server will be used when running in monolith mode only.
|
||||||
addresses:
|
addresses:
|
||||||
- localhost:2181
|
# - localhost:4222
|
||||||
|
|
||||||
# The prefix to use for Kafka topic names for this homeserver. Change this only if
|
# Keep all storage in memory. This is mostly useful for unit tests.
|
||||||
# you are running more than one Dendrite homeserver on the same Kafka deployment.
|
in_memory: false
|
||||||
|
|
||||||
|
# Persistent directory to store JetStream streams in.
|
||||||
|
storage_path:
|
||||||
|
|
||||||
|
# The prefix to use for stream names for this homeserver - really only
|
||||||
|
# useful if running more than one Dendrite on the same NATS deployment.
|
||||||
topic_prefix: Dendrite
|
topic_prefix: Dendrite
|
||||||
|
|
||||||
# Whether to use Naffka instead of Kafka. This is only available in monolith
|
|
||||||
# mode, but means that you can run a single-process server without requiring
|
|
||||||
# Kafka.
|
|
||||||
use_naffka: true
|
|
||||||
|
|
||||||
# The max size a Kafka message is allowed to use.
|
|
||||||
# You only need to change this value, if you encounter issues with too large messages.
|
|
||||||
# Must be less than/equal to "max.message.bytes" configured in Kafka.
|
|
||||||
# Defaults to 8388608 bytes.
|
|
||||||
# max_message_bytes: 8388608
|
|
||||||
|
|
||||||
# Naffka database options. Not required when using Kafka.
|
|
||||||
naffka_database:
|
|
||||||
connection_string: file:naffka.db
|
|
||||||
max_open_conns: 10
|
|
||||||
max_idle_conns: 2
|
|
||||||
conn_max_lifetime: -1
|
|
||||||
|
|
||||||
# Configuration for Prometheus metric collection.
|
# Configuration for Prometheus metric collection.
|
||||||
metrics:
|
metrics:
|
||||||
# Whether or not Prometheus metrics are enabled.
|
# Whether or not Prometheus metrics are enabled.
|
||||||
|
|
Loading…
Reference in a new issue