feat: add mqtt config model and parser for all Go MQTTOpts fields

This commit is contained in:
Joseph Doherty
2026-02-23 05:57:28 -05:00
parent 3f48d1c5ee
commit a661e641c6
3 changed files with 200 additions and 0 deletions

View File

@@ -115,6 +115,9 @@ public sealed class NatsOptions
// Subject mapping / transforms (source pattern -> destination template)
public Dictionary<string, string>? SubjectMappings { get; set; }
// MQTT configuration (parsed from config, no listener yet)
public MqttOptions? Mqtt { get; set; }
public bool HasTls => TlsCert != null && TlsKey != null;
// WebSocket