Difference between revisions of "NATS Messaging"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
Monitoring:
 
Monitoring:
 
* <code>curl http://127.0.0.1:8222/routez</code>
 
* <code>curl http://127.0.0.1:8222/routez</code>
* <code>http://127.0.0.1:8222/varz</code>
+
* <code>curl http://127.0.0.1:8222/varz</code>
 
+
* <code>curl http://127.0.0.1:8222/connz</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 06:00, 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:

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: