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 /roomserver/roomserver_test.go | |
parent | 4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff) |
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics
* Fix current state server test
Diffstat (limited to 'roomserver/roomserver_test.go')
-rw-r--r-- | roomserver/roomserver_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/roomserver_test.go b/roomserver/roomserver_test.go index d11c63b2..bcd9afb3 100644 --- a/roomserver/roomserver_test.go +++ b/roomserver/roomserver_test.go @@ -100,7 +100,7 @@ func mustSendEvents(t *testing.T, ver gomatrixserverlib.RoomVersion, events []js cfg.Global.Kafka.UseNaffka = true cfg.RoomServer.Database.ConnectionString = config.DataSource(roomserverDBFileURI) dp := &dummyProducer{ - topic: string(cfg.Global.Kafka.Topics.OutputRoomEvent), + topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent), } cache, err := caching.NewInMemoryLRUCache(true) if err != nil { |