NATS Messaging

From Wikipedia, the free encyclopedia
NATS
NATS-logo.png
Developer(s)Synadia Communications, Inc.
Initial release2011 [1]
Stable release
2.7.3 / 24 February 2022; 6 days ago (2022-02-24)
Repositoryhttps://github.com/nats-io/nats-server.git
Written inGo
Operating systemCross-platform
TypeMessage broker, , message-oriented middleware
LicenseApache 2.0
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.[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.

Example[]

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

telnet demo.nats.io 4222

Trying 107.170.221.32...
Connected to demo.nats.io.
Escape character is '^]'.
INFO {"server_id":"NBRTLDOI4STEAGVQNG445CWVBGODOTFFGWKOLPGAAVBG3CCFPTLHEWIP","server_name":"us-central-nats-demo","version":"2.7.0","proto":1,"go":"go1.17.6","host":"0.0.0.0","port":4222,"headers":true,"auth_required":true,"tls_available":true,"max_payload":1048576,"jetstream":true,"client_id":2342,"client_ip":"2603:8080:1e40:11f7:b041:5c:b33e:ab83","nonce":"zuFy57-_GyhCQeM"}

References[]

  1. ^ "Release v0.3.12 · nats-io/Nats.rb". GitHub.
  2. ^ "NATS Documentation".
  3. ^ "What's New in NATS 2.2".
  4. ^ "NATS Protocol". NATS Documentation. Retrieved 6 May 2016.

See also[]

Further reading[]

Retrieved from ""