"Consumer"
- 3.4 consumer 設計與去重 整理 consumer、checkpoint 與 replay safety
- NATS core 到 JetStream:fire-and-forget 在哪裡不夠、跨過去要付什麼 Core NATS 的 fire-and-forget 在 consumer 重啟或 rolling deploy 時掉訊息——這不是 bug、是設計。需要訊息不丟就跨進 JetStream(persistence + at-least-once + redelivery)。本文展開 core 與 JetStream 的邊界、stream 與 consumer 的求值模型、實機驗證的 durable pull consumer、5 個把 JetStream consumer 寫成丟訊息與重投風暴的 production 踩坑