Managing and Monitoring your NATS Server Infrastructure
Managing a NATS Server is simple, typical lifecycle operations include:
Using the
natsCLI tool to check server cluster connectivity and latencies, as well as get account information, and manage and interact with streams (and other NATS applications). Try the following examples to learn about the most common ways to usenats.nats cheatnats cheat servernats stream --helpto monitor, manage and interact with streamsnats consumer --helpto monitor, manage stream consumersnats context --helpif you need to switch between servers, clusters or user credentials
Using the
nscCLI tool when using JWT based authentication and authorization, to create, revoke operators, accounts, and user (i.e. client applications) JWTs and keys.Sending signals to a server to reload a configuration or rotate log files
Upgrading a server (or cluster)
Understanding slow consumers
Monitoring the server via:
By subscribing to system events
Gracefully shut down a server with Lame Duck Mode
Last updated
Was this helpful?