feat(batch27): implement jetstream config validation and error tail

This commit is contained in:
Joseph Doherty
2026-02-28 21:15:57 -05:00
parent 68f32c7b85
commit 5b2d32c503
6 changed files with 214 additions and 0 deletions

View File

@@ -707,6 +707,10 @@ public sealed partial class NatsServer
// Trusted operators, leafnode, auth, proxies, gateway, cluster, MQTT, websocket
// — validation stubs delegating to not-yet-ported subsystems.
var jsErr = JetStreamEngine.ValidateJetStreamOptions(o);
if (jsErr != null)
return jsErr;
var err = ValidateCluster(o);
return err;
}