diff options
author | Mark Haines <mjark@negativecurvature.net> | 2017-08-16 13:36:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 13:36:41 +0100 |
commit | c27d1fdfb40032956ed5d13d767bcf12bfc5a65c (patch) | |
tree | 90007b3f79ec509ad3140646f0b11bd86db282d3 /dendrite-config.yaml | |
parent | 0d894e3da583d4829534c6852d26890dbf297adb (diff) |
Optionally use naffka in the monolithic server (#183)
* dependency injection for the kafka consumers/producers
* Optionally use naffka in the monolithic server
* remember to call setupKafka()
* tweak imports
* fix integration tests
* Add use_naffka to the example config
* Update comment on the listen APIs
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r-- | dendrite-config.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml index d04707a6..b19add18 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -52,9 +52,13 @@ media: kafka: # Where the kafka servers are running. addresses: ["localhost:9092"] + # Whether to use naffka instead of kafka. + # Naffka can only be used when running dendrite as a single monolithic server. + # Kafka can be used both with a monolithic server and when running the + # components as separate servers. + use_naffka: false # The names of the kafka topics to use. topics: - input_room_event: roomserverInput output_room_event: roomserverOutput output_client_data: clientapiOutput user_updates: userUpdates @@ -71,6 +75,7 @@ database: # The TCP host:port pairs to bind the internal HTTP APIs to. # These shouldn't be exposed to the public internet. +# These aren't needed when running dendrite as a monolithic server. listen: room_server: "localhost:7770" client_api: "localhost:7771" |