aboutsummaryrefslogtreecommitdiff
path: root/syncapi/consumers/roomserver.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-09-01 16:53:38 +0100
committerGitHub <noreply@github.com>2020-09-01 16:53:38 +0100
commit89c772fb782361bf4cb533ae7287f7d1dea947f6 (patch)
tree88df5d3b46b28a50e48f6355b80a952f2faf10aa /syncapi/consumers/roomserver.go
parent6d79f043541f522207f298d0f585c01e74e1177d (diff)
Report which component failed to consume (#1375)
Diffstat (limited to 'syncapi/consumers/roomserver.go')
-rw-r--r--syncapi/consumers/roomserver.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/syncapi/consumers/roomserver.go b/syncapi/consumers/roomserver.go
index bf231d09..67e656c9 100644
--- a/syncapi/consumers/roomserver.go
+++ b/syncapi/consumers/roomserver.go
@@ -49,6 +49,7 @@ func NewOutputRoomEventConsumer(
) *OutputRoomEventConsumer {
consumer := internal.ContinualConsumer{
+ ComponentName: "syncapi/roomserver",
Topic: string(cfg.Matrix.Kafka.TopicFor(config.TopicOutputRoomEvent)),
Consumer: kafkaConsumer,
PartitionStore: store,