aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-08-10 15:18:37 +0100
committerGitHub <noreply@github.com>2020-08-10 15:18:37 +0100
commit52eeeb16279497e24ed6b1e34a7a16fc69b587d1 (patch)
treecfcf9c482afe230ae251bd1d472cb59d9cc9e906 /clientapi
parent4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff)
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics * Fix current state server test
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/clientapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index f3789521..1a4307c1 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -54,7 +54,7 @@ func AddPublicRoutes(
) {
syncProducer := &producers.SyncAPIProducer{
Producer: producer,
- Topic: string(cfg.Matrix.Kafka.Topics.OutputClientData),
+ Topic: cfg.Matrix.Kafka.TopicFor(config.TopicOutputClientData),
}
routing.Setup(