aboutsummaryrefslogtreecommitdiff
path: root/keyserver/keyserver.go
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 /keyserver/keyserver.go
parent4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff)
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics * Fix current state server test
Diffstat (limited to 'keyserver/keyserver.go')
-rw-r--r--keyserver/keyserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/keyserver.go b/keyserver/keyserver.go
index b5bbb519..04136938 100644
--- a/keyserver/keyserver.go
+++ b/keyserver/keyserver.go
@@ -43,7 +43,7 @@ func NewInternalAPI(
logrus.WithError(err).Panicf("failed to connect to key server database")
}
keyChangeProducer := &producers.KeyChange{
- Topic: string(cfg.Matrix.Kafka.Topics.OutputKeyChangeEvent),
+ Topic: string(cfg.Matrix.Kafka.TopicFor(config.TopicOutputKeyChangeEvent)),
Producer: producer,
DB: db,
}