Skip to main content

ALL_STREAMS

Constant ALL_STREAMS 

Source
pub const ALL_STREAMS: &[&str];
Expand description

Canonical list of every JetStream resource crate::bootstrap::ensure_jetstream_resources creates. The health rollup (/api/health/fleet) and the status snapshot (/api/jetstream/status) both iterate these so the dashboard reports the complete resource set — previously each kept its own hand- maintained subset that drifted behind bootstrap (e.g. only 1 of the 5 object stores showed up). Keep in lockstep with bootstrap.rs: a new stream / bucket / store added there must be appended here too. The canonical_resource_lists_are_sane test below guards the easy mistakes (dots, dupes, empties); keeping the set aligned with bootstrap stays a manual discipline (bootstrap needs per-resource config, so it can’t be derived from a name list alone).