go-dojo
learn go · earn mastery
phase 3 · 3.6-nats

NATS + JetStream from Go

prereqs 3.5-queue-fundamentals2.3-concurrency-patterns
review intervals 7d 21d 60d

The lesson for this task hasn't been written yet. The mastery criteria below is the shortest description of what you'll own when this task is green.

Mastery criteria

- HTTP enqueue → NATS → consumer pipeline; explicit ack/nack handling
- JetStream stream consumed twice with at-least-once semantics
- Articulate why NATS subjects map to Kafka topics (prepares Challenge 5)

Verify

Run from your go-dojo repo root:

go-dojo verify 3.6-nats

This runs the task's go test suite in exercises/phase-3/3.6-nats/, commits the attempt to .go-dojo/attempts/, and updates your mastery.