Joseph Doherty
2c9683e7aa
feat: upgrade JetStreamService to lifecycle orchestrator
Implements enableJetStream() semantics from golang/nats-server/server/jetstream.go:414-523.
- JetStreamService.StartAsync(): validates config, creates store directory
(including nested paths via Directory.CreateDirectory), registers all
$JS.API.> subjects, logs startup stats; idempotent on double-start
- JetStreamService.DisposeAsync(): clears registered subjects, marks not running
- New properties: RegisteredApiSubjects, MaxStreams, MaxConsumers, MaxMemory, MaxStore
- JetStreamOptions: adds MaxStreams and MaxConsumers limits (0 = unlimited)
- FileStoreConfig: removes duplicate StoreCipher/StoreCompression enum declarations
now that AeadEncryptor.cs owns them; updates defaults to NoCipher/NoCompression
- FileStoreOptions/FileStore: align enum member names with AeadEncryptor.cs
(NoCipher, NoCompression, S2Compression) to fix cross-task naming conflict
- 13 new tests in JetStreamServiceOrchestrationTests covering all lifecycle paths
2026-02-24 06:03:46 -05:00
..
2026-02-23 19:55:31 -05:00
2026-02-23 22:55:41 -05:00
2026-02-23 22:55:41 -05:00
2026-02-23 19:55:31 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 15:03:35 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 14:51:30 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 14:51:30 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 14:54:30 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 14:50:18 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 14:54:30 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 14:47:24 -05:00
2026-02-24 06:03:46 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 22:35:06 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 13:08:52 -05:00
2026-02-23 13:43:14 -05:00
2026-02-23 19:55:31 -05:00
2026-02-23 19:55:31 -05:00
2026-02-23 19:55:31 -05:00