Skip to content

Glossary

Acknowledgement (ack) — a reader's confirmation that a JetStream message has been handled, after which the consumer stops offering it. The contract at the centre of chapter 8.

Ack wait — how long a consumer waits for that confirmation before offering the message again.

Client — any program speaking the NATS protocol: your program, or this guide's nats command-line tool.

Cluster — several servers joined to forward messages and, for JetStream, to hold copies. Described in this guide, not run by its lab.

Connection — the one long-lived link between a client and a server, carrying all its subscriptions, publishes and replies.

Consumer — a server-side reading position on a stream: what comes next, what awaits acknowledgement, how many times each message has been offered.

Core NATS — the original system: live delivery to current subscribers, nothing stored. The forgetful half.

Inbox — the private, one-off subject a request carries as its return address (_INBOX.…), where the reply is published.

JetStream — the server's persistence layer: streams that keep messages on disk, consumers that track reading, and the key-value and object stores built on both.

Key-value store (KV) — a stream in the shape of a settings table: named values, each put a numbered revision, watches for change.

Leaf node — a server that extends one NATS system into another network, forwarding subjects between them. Documented, not run, in this guide.

Max payload — the largest single message the server accepts; 1 MB by default, visible on the /varz page.

Message — a subject, optional headers, and a body of bytes the server does not inspect.

No responders — the server's immediate answer to a request whose subject has no subscriber: the service is down, not slow.

Object store — a stream in the shape of a file bucket: files stored in chunks, each with a SHA-256 digest, under one name.

Permissions — the per-user lists in the server's config naming which subjects a user may publish and subscribe. The fence of chapter 10.

Publish — to send a message to a subject, without knowing or naming its receivers.

Pull consumer — a consumer whose readers ask for the next messages when ready. Its opposite, a push consumer, delivers as messages arrive.

Queue group — subscribers sharing one name so that each message goes to exactly one member: shared work without stored work.

Redelivery — a consumer offering a message again because its acknowledgement never arrived within the ack wait.

Request/reply — the asking pattern: a publish with an inbox attached, and one answer published back to it.

Retention — a stream's rule for how long messages are kept: limits (to the limits set), interest (while a consumer cares), work-queue (until acknowledged).

Stream — a named, configured net over a set of subjects, keeping a copy of every message that passes, on disk or in memory.

Subject — the dot-joined name a message is published under and subscriptions match against: shop.order.1. The only addressing NATS has.

Subscribe — to ask the server for a copy of every message matching a subject pattern.

Token — a single shared secret a client presents to connect; the smallest lock in chapter 10.

Wildcard — the two pattern words in subscriptions: * for exactly one word, > for one or more words at the end of a subject.