mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-13 01:43:09 -06:00
Add client API topic to common
This commit is contained in:
parent
fd64eff7a4
commit
2cdc3a0e07
|
|
@ -54,7 +54,7 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
const inputTopic = "syncserverInput"
|
const inputTopic = "syncserverInput"
|
||||||
const clientTopic = "clientapiOutput"
|
const clientTopic = "clientapiserverOutput"
|
||||||
|
|
||||||
var exe = test.KafkaExecutor{
|
var exe = test.KafkaExecutor{
|
||||||
ZookeeperURI: zookeeperURI,
|
ZookeeperURI: zookeeperURI,
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,7 @@ func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*con
|
||||||
// TODO: Different servers should be using different topics.
|
// TODO: Different servers should be using different topics.
|
||||||
// Make this configurable somehow?
|
// Make this configurable somehow?
|
||||||
cfg.Kafka.Topics.OutputRoomEvent = "test.room.output"
|
cfg.Kafka.Topics.OutputRoomEvent = "test.room.output"
|
||||||
|
cfg.Kafka.Topics.OutputClientData = "test.clientapi.output"
|
||||||
|
|
||||||
// TODO: Use different databases for the different schemas.
|
// TODO: Use different databases for the different schemas.
|
||||||
// Using the same database for every schema currently works because
|
// Using the same database for every schema currently works because
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue