跳转到主要内容
本章内容29
-
01
Overview
What is NATS?
NATS is a connective technology that powers modern distributed systems. A connective technolo...
22 小时前
-
02
Compare NATS
This feature comparison is a summary of a few of the major components in several of the popular messaging t...
22 小时前
-
03
What is NATS
Software applications and services need to exchange data. NATS is an infrastructure that allows such data e...
6 小时前
-
04
Walkthrough Setup
We have provided Walkthroughs for you to try NATS (and JetStream) on your own. In order to follow along wit...
8 小时前
-
05
Subject-Based Messaging
NATS is a system for publishing and listening for messages on named communication channels we call
Subject...
6 小时前
-
06
Core NATS
Core NATS is the foundational functionality in a NATS system. It operates on a publish-subscribe model usin...
8 小时前
-
07
Publish-Subscribe
NATS implements a publish-subscribe message distribution model for one-to-many communication. A publisher s...
6 小时前
-
08
Pub/Sub Walkthrough
NATS is a publish subscribe messaging system based on subjects. Subscribers listening on a subject receive ...
6 小时前
-
09
Request-Reply
Request-Reply is a common pattern in modern distributed systems. A request is sent, and the application eit...
6 小时前
-
10
Request-Reply Walkthrough
NATS supports request-reply messaging. In this tutorial you explore how to exchange point-to-point messages...
8 小时前
-
11
Queue Groups
When subscribers register themselves to receive messages from a publisher, the 1:N fan-out pattern of messa...
6 小时前
-
12
Queueing Walkthrough
NATS supports a form of load balancing using queue groups. Subscribers register a queue group name. A singl...
8 小时前
-
13
JetStream
NATS has a built-in persistence engine called JetStream which enables messages to be stored and replayed at...
8 小时前
-
14
Streams
Streams are message stores, each stream defines how messages are stored and what the limits (duration, size...
6 小时前
-
15
Source and Mirror Streams
When a stream is configured with a
source or
mirror, it will automatically and asynchronously replicate m...
8 小时前
-
16
Example
Streams with source and mirror configurations are best managed through a client API. If you intend to creat...
22 小时前
-
17
Consumers
A consumer is a stateful view of a stream. It acts as an interface for clients to consume a subset of messa...
22 小时前
-
18
Example
Consider this architecture
While it is an incomplete architecture it does show a number of key points:
Many...
6 小时前
-
19
JetStream Walkthrough
The following is a small walkthrough on creating a stream and a consumer and interacting with the stream us...
22 小时前
-
20
Key/Value Store
JetStream, the persistence layer of NATS, not only allows for the higher qualities of service and features ...
8 小时前
-
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...
22 小时前
-
22
Object Store
JetStream, the persistence layer of NATS, not only allows for the higher qualities of service and features ...
8 小时前
-
23
Object Store Walkthrough
If you are running a local
nats-server stop it and restart it with JetStream enabled using
nats-server -j...
22 小时前
-
24
Headers
Message headers are used in a variety of JetStream contexts, such de-duplication, auto-purging of messages,...
8 小时前
-
25
Subject Mapping and Partitioning
Subject mapping and transforms is a powerful feature of the NATS server. Transformations (we will use mappi...
6 小时前
-
26
NATS Service Infrastructure
NATS is a client/server system in the fact that you have 'NATS client applications' (applications using one...
22 小时前
-
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...
6 小时前
-
28
Security
NATS has a lot of security features:
Connections can be encrypted with TLS
Client connections can be authen...
8 小时前
-
29
Connectivity
NATS supports several kinds of connectivity directly to the NATS servers.
Plain NATS connections
TLS encryp...
22 小时前