Jump to content

NATS Messaging

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bflannery (talk | contribs) at 18:56, 6 May 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
NATS
Developer(s)Apcera
Stable release
0.8.0 / May 7, 2016 (2016-05-07)
Repository
Written inGo
Operating systemCross-platform
TypeOpen Source Messaging, message-oriented middleware
LicenseMIT
Websitewww.nats.io


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 [1]

Apcera develops and provides support for NATS. NATS was originally developed 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 MIT License. NATS consists of:

Example

Below you can see a sample connection string from a telnet connection to the demo.nats.io site[2].

telnet demo.nats.io 4222

Trying 107.170.221.32...
Connected to demo.nats.io.
Escape character is '^]'.
INFO {"server_id":"1ec445b504f4edfb4cf7927c707dd717","version":"0.6.6","go":"go1.4.2","host":"0.0.0.0",
"port":4222,"auth_required":false,"ssl_required":false,"max_payload":1048576}

References

  1. ^ http://nats.io/documentation/
  2. ^ "NATS Protocol". NATS Documentation. Retrieved 6 May 2016.

Further reading