0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-10 20:01:15 +01:00
dendrite/setup/config
Paige Thompson 1e0e935699
add option for credentials file for NATS; more info: https://docs.nat… (#3415)
Not 100% on how you would want to test this; you would need a NATS
server configured with NKey:

https://docs.nats.io/using-nats/developer/connecting/creds

This was tested with Synadia's free NATS SaaS and it does appear to be
working, however there's an issue with how NATS is used in general:

```
time="2024-09-10T14:40:05.105105731Z" level=fatal msg="Unable to add in-memory stream" error="nats: account requires a stream config to have max bytes set" stream=DendriteInputRoomEvent subjects="[DendriteInputRoomEvent DendriteInputRoomEvent.>]"
```

I tried creating the topic manually, however dendrite insists on
deleting/recreating the topic, so getting this to work is an issue I'm
going ot have to deal with later unless somebody gets to it before then.

If you feel more competent than me and wanna draw from this PR as an
example (if you have another way you'd prefer to see this done) go ahead
feel free I just wanna see it get done and I'm not particularly good at
working with golang.

Signed-off-by: `Paige Thompson <paige@paige.bio>`
2024-09-10 21:28:04 +02:00
..
config.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
config_address.go simplify unix socket permission format (#3014) 2023-03-16 08:51:21 +01:00
config_address_test.go simplify unix socket permission format (#3014) 2023-03-16 08:51:21 +01:00
config_appservice.go Modernize appservice paths and authentication (#3316) 2024-02-03 18:56:13 +01:00
config_clientapi.go clean up dead links, fix typo (#3130) 2023-10-25 10:24:06 +02:00
config_federationapi.go Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00
config_global.go added a warning log , for well_known_server_name,well_known_server_name when they dont have prefix (#3205) 2023-11-25 22:19:22 +01:00
config_jetstream.go add option for credentials file for NATS; more info: https://docs.nat… (#3415) 2024-09-10 21:28:04 +02:00
config_keyserver.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
config_mediaapi.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
config_mscs.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
config_relayapi.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
config_roomserver.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
config_syncapi.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
config_test.go added a warning log , for well_known_server_name,well_known_server_name when they dont have prefix (#3205) 2023-11-25 22:19:22 +01:00
config_userapi.go Some tweaks for the device list updater (#3251) 2023-10-31 16:39:45 +01:00