Difference between revisions of "NATS Messaging"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
# Learn about [[wikipedia:Message-oriented_middleware]] and different software implementations such us: [[ActiveMQ]], [[RedHat AMQ]] or [[Apache Kafka]] | # Learn about [[wikipedia:Message-oriented_middleware]] and different software implementations such us: [[ActiveMQ]], [[RedHat AMQ]] or [[Apache Kafka]] | ||
# Install NATS using docker: https://hub.docker.com/_/nats | # Install NATS using docker: https://hub.docker.com/_/nats | ||
− | ## Install NATS in macOS: <code>brew install nats-server</code> | + | ## Install NATS in macOS: <code>[[brew install nats-server]]</code> |
## Install NATS streaming server in macOS: <code>brew install [[nats-streaming-server]]</code> | ## Install NATS streaming server in macOS: <code>brew install [[nats-streaming-server]]</code> | ||
# [[NATS: Send your first message]] | # [[NATS: Send your first message]] |
Revision as of 07:03, 28 April 2021
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 Streaming adds persistence, message replay and durable subscriptions
Monitoring:
curl http://127.0.0.1:8222/routez
curl http://127.0.0.1:8222/varz
curl http://127.0.0.1:8222/connz
- http://demo.nats.io:8222/connz?limit=16&offset=128
- http://demo.nats.io:8222/connz?state=closed
- http://demo.nats.io:8222/connz?limit=1&offset=1&subs=1
gateway
Leaf
Subscription
Activities
Basic
- Learn about wikipedia:Message-oriented_middleware and different software implementations such us: ActiveMQ, RedHat AMQ or Apache Kafka
- Install NATS using docker: https://hub.docker.com/_/nats
- Install NATS in macOS:
brew install nats-server
- Install NATS streaming server in macOS:
brew install nats-streaming-server
- Install NATS in macOS:
- NATS: Send your first message
Medium
- Learn how to monitor your NATS: https://nats-io.github.io/docs/faq#how-can-i-monitor-my-nats-cluster
Advanced
- Read NATS source code: https://github.com/nats-io/nats-server
See also
- MQ, PubSub, AMQP, NATS, Apache Kafka, IBM MQ, ActiveMQ, Fuse Message Broker, MQTT, NSQ, RabbitMQ, AWS Kinesis and NATS Messaging, ZeroMQ, Message-oriented middleware (MOM), Apache Pulsar, HiveMQ
- Prometheus NATS exporter
Advertising: