NATS Server is a simple, high performance open source messaging system for cloud native applications, IoT messaging, and microservices architectures. NATS is designed to be easy to use and implement. It is highly performant, always on and available, extremely lightweight (small footprint), has support for multiple qualities of service as well as support for various messaging models and use cases.

Telegraf Input Plugin: NATS

Collect and graph statistics from specified NATS server analytics subjects. NATS consumer plugin reads from specified NATS subjects and adds messages to InfluxDB. The plugin expects messages in the Telegraf Input Data Formats. A Queue Group is used when subscribing to subjects so multiple instances of Telegraf can read from a NATS cluster in parallel.

Project URL

Telegraf Ouput Plugin: NATS

This plugin writes to a (list of) specified NATS instance(s).

Project URL

NATS Basics

NATS supports various messaging models, including Publish Subscribe, Request Reply, and Queueing.

Unique features of NATS include:

  • Pure pub-sub
  • Clustered mode server
  • Auto-pruning of subscribers
  • Text-based protocol
  • Multiple qualities of service (QoS)
  • Durable subscriptions (via NATS Streaming)
  • Event streaming service (via NATS Streaming)
  • Last/Initial value caching (via NATS Streaming)

Reference Docs

Scroll to Top