diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-08-10 15:18:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 15:18:37 +0100 |
commit | 52eeeb16279497e24ed6b1e34a7a16fc69b587d1 (patch) | |
tree | cfcf9c482afe230ae251bd1d472cb59d9cc9e906 /appservice | |
parent | 4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff) |
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics
* Fix current state server test
Diffstat (limited to 'appservice')
-rw-r--r-- | appservice/consumers/roomserver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/consumers/roomserver.go b/appservice/consumers/roomserver.go index 84f2b9ab..3c9e52da 100644 --- a/appservice/consumers/roomserver.go +++ b/appservice/consumers/roomserver.go @@ -48,7 +48,7 @@ func NewOutputRoomEventConsumer( workerStates []types.ApplicationServiceWorkerState, ) *OutputRoomEventConsumer { consumer := internal.ContinualConsumer{ - Topic: string(cfg.Global.Kafka.Topics.OutputRoomEvent), + Topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent), Consumer: kafkaConsumer, PartitionStore: appserviceDB, } |