NATS CLI is a command-line utility designed to interact with, administer, and monitor the NATS messaging platform. It enables developers to publish messages, subscribe to subjects, and test request-reply communication directly from the terminal. Comprehensive JetStream management supports configuring streams, consumers, and persistent message storage. Dedicated commands manage key-value stores, object stores, and service APIs. Integrated backup functionality preserves JetStream data and configuration settings. Benchmarking tools measure messaging throughput and communication latency. Named connection contexts simplify switching between servers and authentication configurations. Administrative reporting provides visibility into server health, system accounts, messaging resources, and credentials.
Features
- Interactive message publishing and subscription with customizable headers, queue groups, and request-reply communication
- Comprehensive JetStream administration with stream configuration, consumer management, and persistent message inspection
- Integrated key-value and object store management for distributed data and file storage operations
- JetStream backup and restoration functionality for preserving messaging data and resource configurations
- Performance benchmarking with messaging throughput measurements, latency testing, and service response inspection
- Named connection contexts with server monitoring, system account reporting, and configurable authentication credentials