Difference between revisions of "NATS Messaging"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
*  http://demo.nats.io:8222/connz?state=closed
 
*  http://demo.nats.io:8222/connz?state=closed
 
* http://demo.nats.io:8222/connz?limit=1&offset=1&subs=1
 
* http://demo.nats.io:8222/connz?limit=1&offset=1&subs=1
 +
gateway
 +
* curl http://127.0.0.1:8222/gatewayz
  
 
== Activities ==
 
== Activities ==

Revision as of 06:02, 19 December 2019

NATS is an open-source software messaging system written in Go programming language with Kubernetes and Prometheus integration. NATs sever listen on TCP port 4222 and monitor port on 8222 curl http://127.0.0.1:8222/routez.

  • NATS Streaming adds persistence, message replay and durable subscriptions


Monitoring:

gateway

Activities

Basic

  1. Learn about wikipedia:Message-oriented_middleware and different software implementations such us: ActiveMQ, RedHat AMQ or Apache Kafka
  2. Install NATS using docker: https://hub.docker.com/_/nats
    1. Install NATS in macOS: brew install nats-server
    2. Install NATS streaming server in macOS: brew install nats-streaming-server
  3. NATS: Send your first message

Medium

  1. Learn how to monitor your NATS: https://nats-io.github.io/docs/faq#how-can-i-monitor-my-nats-cluster

Advanced

  1. Read NATS source code: https://github.com/nats-io/nats-server

See also

Advertising: