nats-io /nats-server
High-Performance server for NATS.io, the cloud and edge native messaging system.
★ 21,199⑂ 2,070👁 379⑃ 5,983● 2,293▤ 313
+23
Daily
+108
Weekly
21,199
stars
2,070
forks
379
watchers
5,983
prs
2,293
issues
313
releases
README
NATS is a simple, secure and performant communications system for digital systems, services and devices. NATS is part of the Cloud Native Computing Foundation (CNCF). NATS has over 40 client language implementations, and its server can run on-premise, in the cloud, at the edge, and even on a Raspberry Pi. NATS can secure and simplify design and operation of modern distributed systems. [![License][License-Image]][License-Url] [![Build][Build-Status-Image]][Build-Status-Url] [![Release][Release-Image]][Release-Url] [![Slack][Slack-Image]][Slack-Url] [![Coverage][Coverage-Image]][Coverage-Url] [![Docker Downloads][Docker-Image]][Docker-Url] [![GitHub Downloads][GitHub-Image]][Somsubhra-URL] [![CII Best Practices][CIIBestPractices-Image]][CIIBestPractices-Url] [![Artifact Hub][ArtifactHub-Image]][ArtifactHub-Url] Documentation - Official Website - Official Documentation - FAQ - Watch a video overview of NATS. - Watch this video from SCALE 13x to learn more about its origin story and design philosophy. Contact - Twitter: Follow us on Twitter! - Google Groups: Where you can ask questions - Slack: Click here to join. You can ask questions to our maintainers and to the rich and active community. Contributing If you are interested in contributing to NATS, read about our... - Contributing guide - Report issues or propose Pull Requests [License-Url]: https://www.apache.org/licenses/LICENSE-2.0 [License-Image]: https://img.shields.io/badge/License-Apache2-blue.svg [Docker-Image]: https://img.shields.io/docker/pulls/_/nats.svg [Docker-Url]: https://hub.docker.com/_/nats [Slack-Image]: https://img.shields.io/badge/chat-on%20slack-green [Slack-Url]: https://slack.nats.io [Fossa-Url]: https://app.fossa.io/projects/git%2Bgithub.com%2Fnats-io%2Fnats-server?ref=badge_shield [Fossa-Image]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnats-io%2Fnats-server.svg?type=shield [Build-Status-Url]: https://github.com/nats-io/nats-server/actions/workflows/tests.yaml [Build-Status-Image]: https://github.com/nats-io/nats-server/actions/workflows/tests.yaml/badge.svg?branch=main [Release-Url]: https://github.com/nats-io/nats-server/releases/latest [Release-Image]: https://img.shields.io/github/v/release/nats-io/nats-server [Coverage-Url]: https://coveralls.io/r/nats-io/nats-server?branch=main [Coverage-image]: https://coveralls.io/repos/github/nats-io/nats-server/badge.svg?branch=main [ReportCard-Url]: https://goreportcard.com/report/nats-io/nats-server [ReportCard-Image]: https://goreportcard.com/badge/github.com/nats-io/nats-server [CIIBestPractices-Url]: https://bestpractices.coreinfrastructure.org/projects/1895 [CIIBestPractices-Image]: https://bestpractices.coreinfrastructure.org/projects/1895/badge [ArtifactHub-Url]: https://artifacthub.io/packages/helm/nats/nats [ArtifactHub-Image]: https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/nats [GitHub-Release]: https://github.com/nats-io/nats-server/releases/ [GitHub-Image]: https:/
Top issues
#5122nats str backup fails with "backup timed out after receiving no data for a long period" just after a few seconds [v2.10.11]51 comments · 2024-02-22#5518Memory leak of nats cluster45 comments · 2024-06-11#3116MQTT support should be horizontal scalable42 comments · 2022-05-11#2043Message Group / Sequential Convoy pattern40 comments · 2021-03-27#4648JetStream memory leak? [v2.10.2, v2.10.18]39 comments · 2023-10-11#4924JetStream is enabled for account, while iniating jetstream cluster with jwt authentication - jetstream not enabled37 comments · 2024-01-04#1203Improve TLS handshake error message29 comments · 2019-11-26#1306feature: multi subject publishing, data uploaded once27 comments · 2020-03-08
Discussions
#8936Include subscribed subjects in the account heartbeat (SERVER.CONNS)?0 comments · 2026-11-24#8924I can't figure out how to prevent clients writing into streams it has no permissions for inside an account2 comments · 2026-11-21#8805JetStream as an event log for small multi-agent lab?3 comments · 2026-10-28#8788Rich, real-time interaction with edge devices0 comments · 2026-10-21#8739automagical client rebalancing1 comments · 2026-10-08#8676Auth callout under connection storms: a blocking wait in the broker, and a documentation gap for auth-callout implementers0 comments · 2026-09-29#8444Mirror Stream sync is ~2.9× slower when a Consumer cold-scans the mirror during catch-up1 comments · 2026-08-10#8436Add advisory event when JetStream messages are removed from a stream1 comments · 2026-07-30
Latest release
Release v2.15.3 v2.15.3 2026-11-11Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.4
Dependencies
- github.com/nats-io/jwt/v2 v2.8.3 (8861)
- github.com/nats-io/nkeys v0.4.17 (8861)
- github.com/antithesishq/antithesis-sdk-go v0.9.0-default-no-op (8885)
- github.com/klauspost/compress v1.20.4 (8885)
- golang.org/x/sys v0.50.0 (8885)
Added
General
- Account subject mappings, imports, exports and leafnode remote permissions now support the {{account-hash()}}, {{account-hash-import()}} and {{account-hash-leaf-remote()}} subject mapping functi