NATS Messaging

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Synadia Communications, Inc.
Initial release2011 [1]
Stable release
2.5.0 / 9 September 2021; 4 days ago (2021-09-09)
Written inGo
Operating systemCross-platform
TypeMessage broker, Open Source Messaging, message-oriented middleware
LicenseApache 2.0

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.[2]

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:

Microservices frameworks such as Micro, Mainflux, and Hemera rely on NATS as their messaging backbone.


Below is a sample connection string from a telnet connection to the site:[4]

telnet 4222

Connected to
Escape character is '^]'.
INFO {"server_id":"NCQT422SSCIX5RPBUUIMNRZQOFC3SRIDIPOUB6CK264YTPOXDBMUYYB4","server_name":"DEMO","version":"2.4.0","proto":1,"git_commit":"e49eb66","go":"go1.16.7","host":"","port":4222,"headers":true,"max_payload":1048576,"client_id":711310,"client_ip":""}


  1. ^
  2. ^ "NATS Documentation".
  3. ^ "What's New in NATS 2.2".
  4. ^ "NATS Protocol". NATS Documentation. Retrieved 6 May 2016.

See also[edit]

Further reading[edit]