NATS
Also called: Core NATS, NATS messaging, JetStream
NATS is a messaging system with a client-server protocol that routes messages by named subjects. Core NATS supports publish-subscribe, request-reply and queue groups with at-most-once delivery: an offline subscriber cannot later retrieve a missed message from Core NATS. JetStream adds stored streams, replay and consumer delivery features.
For example, a greenhouse publishes live readings on greenhouse.east.temperature. A connected dashboard can receive them through Core NATS. If an auditor must retrieve readings after a network outage, the deployment can use an appropriately configured JetStream stream and consumer. Those persistence and acknowledgment semantics belong to JetStream, not to every NATS publication, and depend on its configuration.
- Read first
- Publish–subscribe
- Further reading