Documentation
¶
Overview ¶
Package maxdelivery owns SemStreams' durable visibility for JetStream MaxDeliver exhaustion occurrences.
It is internal because this is framework boot plumbing, not a component or an adopter-facing configuration surface. NATS publishes the occurrences; the framework provisions one bounded ledger and one fixed durable observer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start( ctx context.Context, client *natsclient.Client, registry *metric.MetricsRegistry, logger *slog.Logger, ) (func(context.Context) error, error)
Start binds the fixed durable observer to the already-provisioned capture stream. config.StreamsManager.EnsureStreams must have succeeded earlier in boot. The returned stop function releases only this process's consume context; it deliberately leaves the shared durable consumer and its acknowledgement floor.
Types ¶
This section is empty.