50% off tất cả các gói, thời gian có hạn. Bắt đầu từ $2.48/mo
NATS Server

NATS Server

NATS Server là hệ thống nhắn tin hiệu năng cao. Hỗ trợ pub/sub, request/reply và JetStream persistence cho microservices và IoT. Được sử dụng tại GE, Mastercard và Walmart. Đây là giải pháp thay thế đã tốt nghiệp CNCF cho Kafka và RabbitMQ khi bạn cần xử lý hàng triệu tin nhắn mỗi giây trên hạ tầng đơn giản.

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

Configuration

  • Config file: /etc/nats-server.conf
  • System service: nats-server
  • Default port: 4222
  • Monitoring endpoint: http://localhost:8222 (bảo mật qua tunnel SSH)

Credentials

Stored in /etc/nats-server.conf

Accessing NATS

Connection using nats Công cụ CLI (client):

nats sub hello -s nats://USER:PASSWORD@SERVER_IP:4222
nats pub hello "world" -s nats://USER:PASSWORD@SERVER_IP:4222

Giám sát (qua tunnel SSH)

Để đảm bảo bảo mật, endpoint giám sát chỉ được gắn với localhost.

Để truy cập từ xa, hãy thiết lập tunnel SSH:

ssh -L 8222:localhost:8222 root@SERVER_IP

Sau đó mở trình duyệt tại: http://localhost:8222

Service Management

systemctl status nats-server
systemctl restart nats-server

***LINKS***[]

Thêm trong Công cụ Phát triển

Related apps.

Triển khai NATS Server ngay. From $2.48/mo.