Lesson 17 · Senior NATS practice

Reviewing NATS and JetStream designs like a senior engineer

How to judge whether a NATS/JetStream design is truthful about delivery, tenancy safety, consumer shape, and operational trade-offs.

Your win: review NATS and JetStream designs for hidden trade-offs, weak assumptions, and overclaimed guarantees instead of stopping at “it uses JetStream.”

How to get the most out of this page

This page is not mainly about learning new NATS features. It is about learning how to read a proposal, a PR, or a system diagram with sharper questions. If you use it that way, it becomes one of the most practical pages in the whole course.

The important move is simple: stop asking whether the design uses the right vocabulary, and start asking whether the guarantees being implied are actually true in the implementation.

In plain English Plain English: senior review asks what this design really guarantees, what it does not guarantee, and where the eventing layer may fail under pressure.
The review question What does this design really guarantee about delivery, replay, tenancy, and operational behavior — and what important trade-offs is it quietly hiding?

What strong review comments usually target

A design can mention JetStream, durable consumers, explicit ack, and queue groups — and still be weak. Senior review is the skill of checking whether those words connect to real guarantees in the code path.

The best review comments make the hidden contract explicit. They turn “JetStream handles it” into “which exact behavior are we relying on, and where is that behavior enforced?”

Backend use case This lesson helps you review repo NATS changes with sharper questions about DataInMessage, handleMsg, queue groups, pull-vs-push choice, Ack-only handling, and NATS→Kafka migration boundaries.
Common mistake Letting an eventing design sound stronger than it is because the words “JetStream,” “durable,” and “at-least-once” appear in the proposal.
Read this next

Use the repo map as the review anchor

The strongest NATS reviews in this repo start by checking claims against the actual wrapper behavior and service usage captured in the map.

Repo NATS map
docs/nats/lessons/0008-delivery-semantics.html

Check yourself (from memory)

Q1. What is the most senior review question for a NATS/JetStream design?

Senior review is about truthfulness of guarantees, not vocabulary coverage.
What should a senior engineer ask when reviewing a NATS/JetStream design?
recall, then click to reveal
What does this design really guarantee about delivery, replay, tenancy, and operational behavior, and where are the important trade-offs or failure gaps still unresolved?
Want a compact PR-review checklist for NATS-backed designs in this repo? Ask me.

Sources. Repo NATS map; existing NATS lessons; official JetStream docs.