跳转到主要内容

书籍

NATS 文档(英文原版)

NATS 是一个轻量、高性能的消息系统。本书(英文)讲解核心概念、JetStream 持久化、各语言客户端的用法,以及服务器的部署、集群、安全和监控,适合构建分布式系统的开发者和运维人员。

5 章186 页更新于 1 天前

开始阅读
Apache-2.0

目录186

  1. 01 Welcome [!IMPORTANT] This repository has been superseded by nats.docs.v2. Please direct all new contributions there... 13 小时前
  2. 第 1 章 Release Notes 7 页
    1. 1.1 What's New! The NATS.io team is continually working to bring you features that enhance your NATS experience. Below, you... 13 小时前
    2. 1.2 NATS 2.14 This guide is tailored for existing NATS users upgrading from NATS version v2.12.x. This will read as a sum... 1 天前
    3. 1.3 NATS 2.12 This guide is tailored for existing NATS users upgrading from NATS version v2.11.x. This will read as a sum... 1 天前
    4. 1.4 NATS 2.11 This guide is tailored for existing NATS users upgrading from NATS version v2.10.x. This will read as a sum... 1 天前
    5. 1.5 NATS 2.10 This guide is tailored for existing NATS users upgrading from NATS version 2.9.x. This will read as a summa... 13 小时前
    6. 1.6 NATS 2.2 NATS 2.2 is the largest feature release since version 2.0. The 2.2 release provides highly scalable, highly... 13 小时前
    7. 1.7 NATS 2.0 NATS 2.0 was the largest feature release since the original code base for the server was released. NATS 2.0... 1 天前
  3. 第 2 章 NATS Concepts 29 页
    1. 2.1 Overview What is NATS? NATS is a connective technology that powers modern distributed systems. A connective technolo... 1 天前
    2. 2.2 Compare NATS This feature comparison is a summary of a few of the major components in several of the popular messaging t... 1 天前
    3. 2.3 What is NATS Software applications and services need to exchange data. NATS is an infrastructure that allows such data e... 11 小时前
    4. 2.4 Walkthrough Setup We have provided Walkthroughs for you to try NATS (and JetStream) on your own. In order to follow along wit... 13 小时前
    5. 2.5 Subject-Based Messaging NATS is a system for publishing and listening for messages on named communication channels we call Subject... 11 小时前
    6. 2.6 Core NATS Core NATS is the foundational functionality in a NATS system. It operates on a publish-subscribe model usin... 13 小时前
    7. 2.7 Publish-Subscribe NATS implements a publish-subscribe message distribution model for one-to-many communication. A publisher s... 11 小时前
    8. 2.8 Pub/Sub Walkthrough NATS is a publish subscribe messaging system based on subjects. Subscribers listening on a subject receive ... 11 小时前
    9. 2.9 Request-Reply Request-Reply is a common pattern in modern distributed systems. A request is sent, and the application eit... 11 小时前
    10. 2.10 Request-Reply Walkthrough NATS supports request-reply messaging. In this tutorial you explore how to exchange point-to-point messages... 13 小时前
    11. 2.11 Queue Groups When subscribers register themselves to receive messages from a publisher, the 1:N fan-out pattern of messa... 11 小时前
    12. 2.12 Queueing Walkthrough NATS supports a form of load balancing using queue groups. Subscribers register a queue group name. A singl... 13 小时前
    13. 2.13 JetStream NATS has a built-in persistence engine called JetStream which enables messages to be stored and replayed at... 13 小时前
    14. 2.14 Streams Streams are message stores, each stream defines how messages are stored and what the limits (duration, size... 11 小时前
    15. 2.15 Source and Mirror Streams When a stream is configured with a source or mirror, it will automatically and asynchronously replicate m... 13 小时前
    16. 2.16 Example Streams with source and mirror configurations are best managed through a client API. If you intend to creat... 1 天前
    17. 2.17 Consumers A consumer is a stateful view of a stream. It acts as an interface for clients to consume a subset of messa... 1 天前
    18. 2.18 Example Consider this architecture While it is an incomplete architecture it does show a number of key points: Many... 11 小时前
    19. 2.19 JetStream Walkthrough The following is a small walkthrough on creating a stream and a consumer and interacting with the stream us... 1 天前
    20. 2.20 Key/Value Store JetStream, the persistence layer of NATS, not only allows for the higher qualities of service and features ... 13 小时前
    21. 2.21 Key/Value Store Walkthrough The Key/Value Store is a JetStream feature, so we need to verify it is enabled by nats account info which m... 1 天前
    22. 2.22 Object Store JetStream, the persistence layer of NATS, not only allows for the higher qualities of service and features ... 13 小时前
    23. 2.23 Object Store Walkthrough If you are running a local nats-server stop it and restart it with JetStream enabled using nats-server -j... 1 天前
    24. 2.24 Headers Message headers are used in a variety of JetStream contexts, such de-duplication, auto-purging of messages,... 13 小时前
    25. 2.25 Subject Mapping and Partitioning Subject mapping and transforms is a powerful feature of the NATS server. Transformations (we will use mappi... 11 小时前
    26. 2.26 NATS Service Infrastructure NATS is a client/server system in the fact that you have 'NATS client applications' (applications using one... 1 天前
    27. 2.27 NATS Adaptive Deployment Architectures From a single process to a global super-cluster with leaf node servers, you can always adapt your NATS serv... 11 小时前
    28. 2.28 Security NATS has a lot of security features: Connections can be encrypted with TLS Client connections can be authen... 13 小时前
    29. 2.29 Connectivity NATS supports several kinds of connectivity directly to the NATS servers. Plain NATS connections TLS encryp... 1 天前
  4. 第 3 章 Using NATS 64 页
    1. 3.1 NATS Tools Using NATS from client application The most common form of connecting to the NATS messaging system will be ... 13 小时前
    2. 3.2 nats A command line utility to interact with and manage NATS. This utility replaces various past tools that were... 1 天前
    3. 3.3 nats bench NATS is fast and lightweight, and places a priority on performance. The nats CLI tool can, amongst many ot... 13 小时前
    4. 3.4 nk nk is a command line tool that generates nkeys. NKeys are a highly secure public-key signature system base... 1 天前
    5. 3.5 nsc NATS account configurations are built using the nsc tool. The NSC tool allows you to: Create and edit Oper... 13 小时前
    6. 3.6 Basics NSC allows you to manage identities. Identities take the form of nkeys. Nkeys are a public-key signature sy... 1 天前
    7. 3.7 Streams To share messages you publish with other accounts, you have to Export a Stream. Exports are associated with... 1 天前
    8. 3.8 Services To share services that other accounts can reach via request reply, you have to Export a Service. Services a... 1 天前
    9. 3.9 Signing Keys As previously discussed, NKEYs are identities, and if someone gets a hold of an account or operator nkey th... 1 天前
    10. 3.10 Revocation NATS supports two types of revocations. Both of these are stored in the Account JWT, so that the nats-serve... 1 天前
    11. 3.11 Managed Operators You can use nsc to administer multiple operators. Operators can be thought of as the owners of nats-server... 1 天前
    12. 3.12 nats-top nats-top is a top-like tool for monitoring nats-server servers. 提示 The nats-top functionality is now avail... 13 小时前
    13. 3.13 Tutorial You can use nats-top to monitor in realtime NATS server connections and message statistics. Prerequisites S... 13 小时前
    14. 3.14 Developing With NATS Developing with NATS involves a blend of distributed application techniques, common NATS features, and libr... 1 天前
    15. 3.15 Anatomy of a NATS application You can use NATS to exchange information with and make requests to other applications. You can also use NAT... 13 小时前
    16. 3.16 Connecting In order for a NATS client application to connect to the NATS service, and then subscribe or publish messag... 13 小时前
    17. 3.17 Connecting to the Default Server Some libraries also provide a special way to connect to a default url, which is generally nats://localhost... 1 天前
    18. 3.18 Connecting to a Specific Server The NATS client libraries can take a full URL, nats://demo.nats.io:4222, to specify a specific server host... 1 天前
    19. 3.19 Connecting to a Cluster When connecting to a cluster, there are a few things to think about. Passing a URL for each cluster member ... 13 小时前
    20. 3.20 Connection Name Connections can be assigned a name which will appear in some of the server monitoring data. This name is no... 1 天前
    21. 3.21 Authenticating with a User and Password For this example, start the server using: nats-server --user myname --pass password You can encrypt passwor... 13 小时前
    22. 3.22 Authenticating with a Token Tokens are basically random strings, much like a password, and can provide a simple authentication mechanis... 1 天前
    23. 3.23 Authenticating with an NKey The 2.0 version of NATS server introduces a new challenge response authentication option. This challenge re... 13 小时前
    24. 3.24 Authenticating with a Credentials File The 2.0 version of NATS server introduced the idea of decentralized authentication based on JSON Web Tokens... 13 小时前
    25. 3.25 Encrypting Connections with TLS While authentication limits which clients can connect, TLS can be used to encrypt traffic between client/se... 13 小时前
    26. 3.26 Setting a Connect Timeout Each library has its own, language preferred way, to pass connection options. One of the most common option... 1 天前
    27. 3.27 Ping/Pong Protocol NATS client applications use a PING/PONG protocol to check that there is a working connection to the NATS s... 11 小时前
    28. 3.28 Turning Off Echo'd Messages By default a NATS connection will echo messages if the connection also has interest in the published subjec... 11 小时前
    29. 3.29 Miscellaneous functionalities This section contains miscellaneous functionalities and options for connect. Get the Maximum Payload Size W... 1 天前
    30. 3.30 Automatic Reconnections All the client libraries maintained on the nats.io GitHub page will automatically attempt to re-connect if ... 13 小时前
    31. 3.31 Disabling Reconnect You can disable automatic reconnect with connection options: Go // Disable reconnect attempts nc, err := na... 1 天前
    32. 3.32 Set the Number of Reconnect Attempts Applications can set the maximum reconnect attempts per server. This includes the server provided to the cl... 13 小时前
    33. 3.33 Avoiding the Thundering Herd When a server goes down, there is a possible anti-pattern called the Thundering Herd where all of the clien... 1 天前
    34. 3.34 Pausing Between Reconnect Attempts It doesn’t make much sense to try to connect to the same server over and over. To prevent this sort of thra... 13 小时前
    35. 3.35 Listening for Reconnect Events Because reconnect is primarily under the covers, many libraries provide an event listener you can use to be... 1 天前
    36. 3.36 Buffering Messages During Reconnect Attempts The Core NATS client libraries try as much as possible to be fire and forget, and you should use JetStream ... 1 天前
    37. 3.37 Monitoring the Connection Managing the interaction with the server is primarily the job of the client library but most of the librari... 1 天前
    38. 3.38 Listen for Connection Events While the connection status is interesting, it is perhaps more interesting to know when the status changes.... 1 天前
    39. 3.39 Slow Consumers NATS is designed to move messages through the server quickly. As a result, NATS depends on the applications... 13 小时前
    40. 3.40 Receiving Messages In general, applications can receive messages asynchronously or synchronously. Receiving messages with NATS... 1 天前
    41. 3.41 Synchronous Subscriptions Synchronous subscriptions require the application to wait for messages. This type of subscription is easy t... 1 天前
    42. 3.42 Asynchronous Subscriptions Asynchronous subscriptions use callbacks of some form to notify an application when a message arrives. Thes... 1 天前
    43. 3.43 Unsubscribing The client libraries provide a means to unsubscribe a previous subscription request. This process requires ... 1 天前
    44. 3.44 Unsubscribing After N Messages NATS provides a special form of unsubscribe that is configured with a message count and takes effect when t... 1 天前
    45. 3.45 Replying to a Message Incoming messages have an optional reply-to field. If that field is set, it will contain a subject to which... 1 天前
    46. 3.46 Wildcard Subscriptions There is no special code to subscribe with a wildcard subject. Wildcards are a normal part of the subject n... 1 天前
    47. 3.47 Queue Subscriptions Subscribing to a queue group is only slightly different than subscribing to a subject alone. The applicatio... 11 小时前
    48. 3.48 Draining Messages Before Disconnect This feature is the ability to drain connections or subscriptions and then close the connection. Closing a ... 1 天前
    49. 3.49 Receiving Structured Data Client libraries may provide tools to help receive structured data, like JSON. The core traffic to the NATS... 1 天前
    50. 3.50 Sending Messages NATS sends and receives messages using a protocol that includes a target subject, an optional reply subject... 1 天前
    51. 3.51 Including a Reply Subject The optional reply-to field when publishing a message can be used on the receiving side to respond. The rep... 1 天前
    52. 3.52 Request-Reply Semantics The pattern of sending a message and receiving a response is encapsulated in most client libraries into a r... 1 天前
    53. 3.53 Caches, Flush and Ping For performance reasons, most if not all, of the client libraries will buffer outgoing data so that bigger ... 13 小时前
    54. 3.54 Sending Structured Data Some client libraries provide helpers to send structured data while others depend on the application to per... 1 天前
    55. 3.55 Building Services Recently we have agreed upon an initial specification for a services protocol so that we can add first-clas... 1 天前
    56. 3.56 JetStream Deciding to use streaming and higher qualities of service In modern systems, applications can expose servic... 13 小时前
    57. 3.57 JetStream Model Deep Dive Stream Limits, Retention, and Policy Streams store data on disk, but we cannot store all data forever, so w... 1 天前
    58. 3.58 Managing Streams and consumers Streams and durable consumers can be defined administratively outside the application (typically using the ... 1 天前
    59. 3.59 Consumer Details Consumers are how client applications get the messages stored in the streams. You can have many consumers o... 1 天前
    60. 3.60 Publishing to Streams Go func ExampleJetStream() { nc, err := nats.Connect("localhost") if err != nil { log.Fatal(err) } //... 1 天前
    61. 3.61 Using the Key/Value Store As the Key Value Store is built on top of the JetStream persistence layer you obtain a KeyValueManager obje... 1 天前
    62. 3.62 Using the Object Store The Object Store allows you to store data of any (i.e. large) size by implementing a chunking mechanism, al... 1 天前
    63. 3.63 Tutorials Tutorials are provided to give guidance on commonly used aspects of NATS. Advanced Connect and Custom Diale... 13 小时前
    64. 3.64 Advanced Connect and Custom Dialer in Go The Go NATS client features a CustomDialer option which allows you to customize the connection logic agains... 1 天前
  5. 第 4 章 Running a NATS service 76 页
    1. 4.1 Installing, running and deploying a NATS Server The NATS Server is highly optimized and its binary is very compact (less than 20 MB), it can run on any mac... 1 天前
    2. 4.2 Installing a NATS Server NATS philosophy is simplicity. Installation is just decompressing a zip file and copying the binary to an a... 13 小时前
    3. 4.3 Running and deploying a NATS Server The nats-server has many command line options. To get started, you don't have to specify anything. In the a... 13 小时前
    4. 4.4 Windows Service The NATS server supports running as a Windows service. In fact, this is the recommended way of running NATS... 13 小时前
    5. 4.5 Flags The NATS server has many flags to customize its behavior without having to write a configuration file. The ... 13 小时前
    6. 4.6 Environmental considerations Networking Load balancers It is possible to deploy a load balancer between the client applications and the ... 13 小时前
    7. 4.7 NATS and Docker NATS Server Containerization The NATS server is provided as a Docker image on Docker Hub that you can run u... 13 小时前
    8. 4.8 Tutorial In this tutorial you run the NATS server Docker image. The Docker image provides an instance of the NATS Se... 1 天前
    9. 4.9 Docker Swarm Step 1: Create an overlay network for the cluster (in this example, nats-cluster-example), and instantiate... 1 天前
    10. 4.10 Python and NGS Running in Docker Start a lightweight Docker container: docker run --entrypoint /bin/bash -it python:3.8-slim-buster Or you c... 1 天前
    11. 4.11 JetStream This mini-tutorial shows how to run a NATS server with JetStream enabled in a local Docker container. This ... 1 天前
    12. 4.12 NGS Leaf Nodes This mini-tutorial shows how to run 2 NATS server in local Docker containers interconnected via Synadia Clo... 1 天前
    13. 4.13 NATS and Kubernetes The recommended way to deploy NATS on Kubernetes is using Helm with the official NATS Helm Chart. Helm repo... 1 天前
    14. 4.14 NATS Server Clients A NATS client is an application making a connection to one of the nats servers pointed to by its connection... 13 小时前
    15. 4.15 Configuring NATS Server While the NATS server has many flags that allow for simple testing of features from command line. The stand... 13 小时前
    16. 4.16 Configuring JetStream Enabling JetStream for a nats-server To enable JetStream in a server we have to configure it at the top lev... 13 小时前
    17. 4.17 Configuration Management In many cases managing the configuration in your application code is the best model, many teams though wish... 13 小时前
    18. 4.18 NATS Admin CLI nats Admin CLI The nats CLI can be used to manage Streams and Consumers easily using it's --config flag, ... 1 天前
    19. 4.19 Terraform Terraform is a Cloud configuration tool from Hashicorp. We maintain a Provider for Terraform called terrafo... 1 天前
    20. 4.20 GitHub Actions We have a pack of GitHub Actions that let you manage an already running JetStream Server, useful for managi... 1 天前
    21. 4.21 Kubernetes Controller The JetStream controllers allow you to manage NATS JetStream Streams and Consumers via K8S CRDs. You can fi... 1 天前
    22. 4.22 Clustering NATS Server Clustering NATS supports running each server in clustered mode. You can cluster servers togethe... 13 小时前
    23. 4.23 Clustering Configuration The cluster configuration map has the following configuration options: Property Description Version host I... 13 小时前
    24. 4.24 v2 Routes Introduced in NATS v2.10.0 Connection pooling Before the v2.10.0 release, two servers in a cluster had only... 1 天前
    25. 4.25 JetStream Clustering Clustering in JetStream is required for a highly available and scalable system. Behind clustering is RAFT. ... 11 小时前
    26. 4.26 Administration Once a JetStream cluster is operating interactions with the CLI and with nats CLI is the same as before. F... 1 天前
    27. 4.27 Troubleshooting Diagnosing problems in NATS JetStream clusters requires: knowledge of JetStream concepts knowledge of the N... 13 小时前
    28. 4.28 Super-cluster with Gateways Gateways Gateways enable connecting one or more clusters together into a full mesh; they allow the formatio... 11 小时前
    29. 4.29 Configuration The gateway configuration block is similar to a cluster block: gateway { name: "A" listen: "local... 13 小时前
    30. 4.30 Leaf Nodes A Leaf Node extends an existing NATS system of any size, optionally bridging both operator and security dom... 13 小时前
    31. 4.31 Configuration leafnodes Configuration Block The leaf node configuration block is used to configure incoming as well as ou... 13 小时前
    32. 4.32 JetStream on Leaf Nodes If you want to see a demonstration of the full range of this functionality, check out our video One of the ... 13 小时前
    33. 4.33 Securing NATS The NATS server provides several forms of security: Connections can be encrypted with TLS Client connection... 13 小时前
    34. 4.34 Enabling TLS The NATS server uses modern TLS semantics to encrypt client, route, and monitoring connections. Check here ... 13 小时前
    35. 4.35 Authentication NATS authentication is multi-level. All of the security modes have an accounts level with users belonging t... 13 小时前
    36. 4.36 Tokens Token authentication is a string that if provided by a client, allows it to connect. It is the most straigh... 13 小时前
    37. 4.37 Username/Password Plain Text Passwords You can authenticate one or more clients using username and passwords; this enables yo... 13 小时前
    38. 4.38 TLS Authentication The server can require TLS certificates from a client. When needed, you can use the certificates to: Valida... 1 天前
    39. 4.39 TLS Authentication in clusters When setting up clusters, all servers in the cluster, if using TLS, will both verify the connecting endpoin... 1 天前
    40. 4.40 NKeys NKeys are a new, highly secure public-key signature system based on Ed25519. With NKeys the server can veri... 13 小时前
    41. 4.41 Authentication Timeout You can specify a timeout to limit how long the server will wait for a client to authenticate. If you don't... 1 天前
    42. 4.42 Decentralized JWT Authentication/Authorization With other authentication mechanisms, configuration for identifying a user and Account, is in the server co... 13 小时前
    43. 4.43 Account lookup using Resolver The resolver configuration option is used in conjunction with NATS JWT Authentication and nsc. The resolv... 13 小时前
    44. 4.44 Memory Resolver Tutorial The MEMORY resolver is a server built-in resolver for account JWTs. If there are a small number of account... 1 天前
    45. 4.45 Mixed Authentication/Authorization Setup Mixing both nkeys static config and decentralized JWT Authentication/Authorization is possible but needs so... 13 小时前
    46. 4.46 Authorization The NATS server supports authorization using subject-level permissions on a per-user basis. Permission-base... 13 小时前
    47. 4.47 Multi Tenancy using Accounts In modern microservice architecture it is common to share infrastructure - such as NATS - between services.... 13 小时前
    48. 4.48 OCSP Stapling Supported since NATS Server version 2.3 OCSP Stapling is honored by default for certificates that have the ... 1 天前
    49. 4.49 Auth Callout As of NATS v2.10.0 Auth Callout is an opt-in extension for delegating client authentication and authorizati... 11 小时前
    50. 4.50 Logging Configuring Logging The NATS server provides various logging options that you can set via the command line ... 1 天前
    51. 4.51 Enabling Monitoring NATS Server Monitoring To monitor the NATS messaging system, nats-server provides a lightweight HTTP serve... 13 小时前
    52. 4.52 MQTT Supported since NATS Server version 2.2 NATS follows as closely as possible to the MQTT v3.1.1 specificatio... 1 天前
    53. 4.53 Configuration To enable MQTT support in the server, add an mqtt configuration block in the server's configuration file l... 1 天前
    54. 4.54 Configuring Subject Mapping Supported since NATS Server version 2.2 Subject mapping is a very powerful feature of the NATS server, usef... 13 小时前
    55. 4.55 System Events NATS servers leverage Accounts support and generate events such as: account connect/disconnect authenticati... 13 小时前
    56. 4.56 System Events & Decentralized JWT Tutorial Enabling System Events with Decentralized Authentication/Authorization To enable and access system events, ... 1 天前
    57. 4.57 WebSocket Supported since NATS Server version 2.2 WebSocket support can be enabled in the server and may be used alon... 13 小时前
    58. 4.58 Configuration To enable WebSocket support in the server, add a websocket configuration block in the server's configurati... 1 天前
    59. 4.59 Managing and Monitoring your NATS Server Infrastructure Managing a NATS Server is simple, typical lifecycle operations include: Using the nats CLI tool to check s... 13 小时前
    60. 4.60 Monitoring Monitoring NATS To monitor the NATS messaging system, nats-server provides a lightweight HTTP server on a ... 13 小时前
    61. 4.61 Monitoring JetStream Commercial Options If you want a "batteries-included" approach to high-cardinality NATS monitoring and obse... 1 天前
    62. 4.62 Managing JetStream Once the server is running it's time to use the management tool. Please refer to the installation section i... 1 天前
    63. 4.63 Account Information Account Information JetStream is multi-tenant so you will need to check that your account is enabled for Je... 1 天前
    64. 4.64 Naming Streams, Consumers, and Accounts Stream, Consumer (durable name), and Account names are used in both the subject namespace used by JetStream... 1 天前
    65. 4.65 Streams The first step is to set up storage for our ORDERS related messages, these arrive on a wildcard of subject... 1 天前
    66. 4.66 Consumers Messages are read or consumed from the Stream by Consumers. We support pull and push-based Consumers and th... 1 天前
    67. 4.67 Data Replication Replication allows you to move data between streams in either a 1:1 mirror style or by multiplexing multipl... 11 小时前
    68. 4.68 Disaster Recovery In the event of unrecoverable JetStream message persistence on one (or more) server nodes, there are two re... 1 天前
    69. 4.69 Encryption at Rest Supported since NATS server version 2.3.0 TPM is supported on Windows since NATS Server version 2.11.0 注意 N... 1 天前
    70. 4.70 Managing JWT Security If you are using the JWT model of authentication to secure your NATS infrastructure or implementing an Auth... 13 小时前
    71. 4.71 In Depth JWT Guide This document provides a step by step deep dive into JWT usage within NATS. Starting with related concepts,... 11 小时前
    72. 4.72 Upgrading a Cluster Repeat this procedure for all nodes of the cluster, one at a time: Stop the server by putting it into Lame ... 1 天前
    73. 4.73 Slow Consumers To support resiliency and high availability, NATS provides built-in mechanisms to automatically prune the r... 13 小时前
    74. 4.74 Signals Command Line On Unix systems, the NATS server responds to the following signals. You can send these using t... 13 小时前
    75. 4.75 Lame Duck Mode In production we recommend that a server is shut down with ​lame duck mode​ as a graceful way to slowly evi... 13 小时前
    76. 4.76 Profiling When investigating and debugging a performance issue with the NATS Server (i.e. unexpectedly high CPU or RA... 1 天前
  6. 第 5 章 Reference 9 页
    1. 5.1 FAQ General What is NATS? What language is NATS written in? Who maintains NATS? What clients does NATS support?... 13 小时前
    2. 5.2 NATS Protocols This section of the documentation contains the reference documentation for the NATS network protocols used ... 1 天前
    3. 5.3 Protocol Demo The virtues of the NATS protocol manifest quickly when you experience how easy it is to use NATS. Because t... 13 小时前
    4. 5.4 Client Protocol Client Protocol The wire protocol used to communicate between the NATS server and clients is a simple, text... 13 小时前
    5. 5.5 Developing a Client NATS Client Development Guide This guide provides you with considerations for developing NATS clients, incl... 13 小时前
    6. 5.6 NATS Cluster Protocol NATS Cluster Protocol The NATS server clustering protocol describes the protocols passed between NATS serve... 13 小时前
    7. 5.7 JetStream wire API Reference The normal way to use JetStream is through the NATS client libraries which expose a set of JetStream functi... 1 天前
    8. 5.8 Roadmap You can find the NATS.io roadmap on the nats.io main site. See what is coming to NATS! 1 天前
    9. 5.9 Contributing Do you want to contribute to NATS? Awesome! We’d love your help. The best way to get started contributing t... 1 天前