diff options
author | Kegsay <kegan@matrix.org> | 2020-06-10 10:34:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 10:34:22 +0100 |
commit | 98cb0705eab07233cbc78fbe4342e1b1890c2a60 (patch) | |
tree | 66fe1d58d6926c0b477ddc507571503eb5d2e9c3 /internal | |
parent | 85ac8a3f5ba407ece584843a4d77466c1c4f5565 (diff) |
Remove unused UserUpdates producer (#1109)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/config/config.go | 3 | ||||
-rw-r--r-- | internal/test/config.go | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 858646ab..bff4945b 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -154,8 +154,6 @@ type Dendrite struct { OutputTypingEvent Topic `yaml:"output_typing_event"` // Topic for eduserver/api.OutputSendToDeviceEvent events. OutputSendToDeviceEvent Topic `yaml:"output_send_to_device_event"` - // Topic for user updates (profile, presence) - UserUpdates Topic `yaml:"user_updates"` } } `yaml:"kafka"` @@ -591,7 +589,6 @@ func (config *Dendrite) checkKafka(configErrs *configErrors, monolithic bool) { checkNotEmpty(configErrs, "kafka.topics.output_room_event", string(config.Kafka.Topics.OutputRoomEvent)) checkNotEmpty(configErrs, "kafka.topics.output_client_data", string(config.Kafka.Topics.OutputClientData)) checkNotEmpty(configErrs, "kafka.topics.output_typing_event", string(config.Kafka.Topics.OutputTypingEvent)) - checkNotEmpty(configErrs, "kafka.topics.user_updates", string(config.Kafka.Topics.UserUpdates)) } // checkDatabase verifies the parameters database.* are valid. diff --git a/internal/test/config.go b/internal/test/config.go index 06510c8b..951f65a1 100644 --- a/internal/test/config.go +++ b/internal/test/config.go @@ -84,7 +84,6 @@ func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*con cfg.Kafka.Topics.OutputRoomEvent = "test.room.output" cfg.Kafka.Topics.OutputClientData = "test.clientapi.output" cfg.Kafka.Topics.OutputTypingEvent = "test.typing.output" - cfg.Kafka.Topics.UserUpdates = "test.user.output" // TODO: Use different databases for the different schemas. // Using the same database for every schema currently works because |