Difference between revisions of "NATS Messaging"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* https://nats.io/
 
* https://nats.io/
 
* NATS Streaming adds persistence, message replay and durable subscriptions
 
* NATS Streaming adds persistence, message replay and durable subscriptions
 +
* Docker: https://hub.docker.com/_/nats
 +
* GitHub: https://github.com/nats-io
 +
* https://github.com/nats-io/nats-server/releases
  
 +
[[nats context ls]]
  
 
Monitoring:
 
Monitoring:
Line 41: Line 45:
 
* [[8443]]
 
* [[8443]]
 
* [[4222]]
 
* [[4222]]
 +
* [[get_last_msg]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:19, 23 October 2024

NATS (2011) 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 context ls

Monitoring:

Gateway

Leaf

Subscription

Activities[edit]

Basic[edit]

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

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

Advanced[edit]

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

Related[edit]

See also[edit]

Advertising: