aboutsummaryrefslogtreecommitdiff
path: root/appservice/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 /appservice/consumers/roomserver.go
parent6d79f043541f522207f298d0f585c01e74e1177d (diff)
Report which component failed to consume (#1375)
Diffstat (limited to 'appservice/consumers/roomserver.go')
-rw-r--r--appservice/consumers/roomserver.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/appservice/consumers/roomserver.go b/appservice/consumers/roomserver.go
index 3c9e52da..560cd237 100644
--- a/appservice/consumers/roomserver.go
+++ b/appservice/consumers/roomserver.go
@@ -48,6 +48,7 @@ func NewOutputRoomEventConsumer(
workerStates []types.ApplicationServiceWorkerState,
) *OutputRoomEventConsumer {
consumer := internal.ContinualConsumer{
+ ComponentName: "appservice/roomserver",
Topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent),
Consumer: kafkaConsumer,
PartitionStore: appserviceDB,