NATS JetStream Stream ↔ Consumer: Stale Message Retrieval with max_age Retention
NATS JetStream Stream ↔ Consumer: Stale Message Retrieval When a JetStream stream is configured with a max_age retention policy, messages older than the specified duration become eligible for removal. However, JetStream does not purge them instantly; removal occurs during periodic housekeeping cycles performed by the stream leader. The default housekeeping i