0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-22 02:13:43 +01:00
dendrite/appservice
Neil Alexander 98a5e410d7
Per-room consumers (#2293)
* Roomserver input refactoring — again!

* Ensure the actor runs again

* Preserve consumer after unsubscribe

* Another sprinkling of magic

* Rename `TopicFor` to `Prefixed`

* Recreate the stream if the config is bad

* Check streams too

* Prefix subjects, preserve inboxes

* Recreate if subjects wrong

* Remove stream subject

* Reconstruct properly

* Fix mutex unlock

* Comments

* Fix tests

* Don't drop events

* Review comments

* Separate `queueInputRoomEvents` function

* Re-jig control flow a bit
2022-03-23 10:20:18 +00:00
..
api Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
consumers Per-room consumers (#2293) 2022-03-23 10:20:18 +00:00
inthttp Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
query Fix ineffectual error assignment (#1976) 2021-08-16 14:19:35 +01:00
storage Remove unused partition_offset_table (#2288) 2022-03-21 10:47:41 +01:00
types Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
workers Use default transport for AS traffic (#1789) 2021-03-05 16:40:32 +00:00
appservice.go Wait for safe shutdown of NATS Server (#2289) 2022-03-21 10:32:34 +00:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Application Service

This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.

Consumers

This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.