feat: add JetStream config change reload (Gap 14.6)

Add ApplyJetStreamConfigChanges to ConfigReloader for detecting MaxMemoryStore,
MaxFileStore, and Domain changes during hot reload. Add Domain property to
JetStreamOptions. Port 10 unit tests covering all change permutations.
This commit is contained in:
Joseph Doherty
2026-02-25 11:48:22 -05:00
parent 5116aed491
commit ff07137ea6
2 changed files with 178 additions and 0 deletions

View File

@@ -34,4 +34,11 @@ public sealed class JetStreamOptions
/// Maps to Go's JetStreamAccountLimits.MaxConsumers (jetstream.go).
/// </summary>
public int MaxConsumers { get; set; }
/// <summary>
/// JetStream domain name for this server. Used for domain-scoped routing and
/// subject prefix isolation in clustered deployments.
/// Maps to Go's Options.JetStreamDomain (opts.go).
/// </summary>
public string? Domain { get; set; }
}