1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Update README.md

This commit is contained in:
Ginger Collison 2019-12-09 08:57:17 -06:00 committed by GitHub
parent 583510f8cd
commit 720e602279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ Published [foo] : 'foo'
Both the server and leaf subscriber print:
```text
Received on [foo]: 'foo'
```
Publish a message on the leaf:
@ -142,7 +142,7 @@ Published [bar] : 'bar'
Both the server and leaf subscribers print:
```text
Received on [bar]: 'bar'
```
The leaf forwards all local messages to the server where members of the account are able to receive them. Messages published on the server by the account are forwarded to the leaf where subscribers are able to receive them.
@ -206,7 +206,7 @@ Published [foo] : 'foo'
You should see a new message in all your subscriber windows:
```text
Received on [foo]: 'foo'
```
Now publish a new message on the leaf, but this time with the subject `bar`: