NATS Messaging

NATS is an open-source messaging system (sometimes called message-oriented middleware). The NATS server is written in the Go programming language. Client libraries to interface with the server are available for dozens of major programming languages. The core design principles of NATS are performance, scalability, and ease of use. The acronym NATS stands for Neural Autonomic Transport System.

Synadia develops and provides support for NATS. NATS was originally developed by Derek Collison as the messaging control plane for Cloud Foundry and was written in Ruby. NATS was later ported to Go.

The source code is released under the Apache 2.0 License. NATS consists of:
 * The NATS Server - The core Publish-Subscribe Server for NATS.
 * Client libraries for a variety of programming languages.
 * A connector framework - a pluggable Java based framework to connect NATS and other services. NATS is a CNCF project with Kubernetes and Prometheus (software) integration.

The NATS server is often referred to as either 'Core NATS' or NATS with 'JetStream'. 'Core NATS' is the set of core NATS functionalities and qualities of service. 'JetStream' is the (optionally enabled) built-in persistence layer that adds streaming, queues, at-least-once and exactly-once delivery guarantees, historical data replay, decoupled flow-control and key/value store functionalities to Core NATS. JetStream replaced the old STAN (NATS Streaming) approach.

Example
Below is a sample connection string from a telnet connection to the demo.nats.io site: