In this article
JetStream acknowledgment and an external action are separate commits; test the gap and use application-level reconciliation or idempotency where required.
NATS’s new CNCF milestone brings distributed messaging back into infrastructure discussions. Existing JetStream acknowledgment controls message delivery; an agent may also modify a separate system. The hard case is a worker disappearing between that external modification and its delivery acknowledgment, when neither retry nor silence is automatically safe.
Name both state changes
Suppose a proposed agent job creates a deployment record in an external service. The message consumer also needs to acknowledge its delivery. Those are two observations in different systems. Writing them on one line in application code does not make them one atomic operation. Define which record establishes the user-visible result and which record tells the messaging system that the delivery no longer needs attention.
Explore the ambiguous interval
A crash after the external service accepts a change but before acknowledgment leaves a delivery that may return. A crash after an early acknowledgment but before the change leaves no corresponding completed action. These are proposed failure scenarios, not a reported defect in NATS. They expose the application’s responsibility: message settlement alone cannot establish the external system’s state at the moment the worker vanished.
Give the operation a stable identity
Where the external API supports it, preserve one idempotency identity across attempts and verify the API’s actual retention and conflict behavior. Otherwise define a reconciliation query or an explicit uncertain outcome for review. Do not invent idempotency by generating a new key on every retry. Our proposed ledger separates job identity, delivery attempt and external result, allowing repeated delivery without automatically representing it as another intended business action.
Accept useful completion, not only delivery
The acceptance test should count intended external effects, unresolved outcomes and duplicate attempts separately. Redelivery can be expected while duplicate business effects remain unacceptable. Keep message durability claims within their documented scope and state the application mechanism that closes the remaining gap. This turns the graduation news into a concrete reliability review for agents that operate across messaging and external APIs.
Sources
- CNCF NATS graduation, 10 November 2026
- JetStream pull consumers and acknowledgment, existing capability
- Core NATS delivery semantics, existing capability
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.