CRE-2025-0088
NATS JetStream Storage Exhaustion DetectionHighImpact: 9/10Mitigation: 8/10
CRE-2025-0088View on GitHub
Description
Detects NATS JetStream storage exhaustion conditions when streams reach configured\nstorage limits (maximum bytes, maximum messages) causing message storage failures.\nThese patterns indicate insufficient stream storage capacity relative to message\nproduction rate, leading to message rejection and potential data loss.\n
Mitigation
Increase JetStream stream storage limits (max_bytes, max_msgs), implement stream\nretention policies, scale consumer processing capacity, monitor stream storage\nutilization, implement producer flow control, and configure appropriate discard\npolicies for stream overflow scenarios.\n