mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
updated gnatsd to nats-server
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Connecting to the Default Server
|
||||
|
||||
Some libraries also provide a special way to connect to a *default* url, which is general `nats://localhost:4222`:
|
||||
Some libraries also provide a special way to connect to a *default* url, which is generally `nats://localhost:4222`:
|
||||
|
||||
!INCLUDE "../../_examples/connect_default.html"
|
||||
@@ -1,6 +1,6 @@
|
||||
# Turning Off Echo'd Messages
|
||||
|
||||
By default the server will echo messages. This means that if a publisher on a connection sends a message to a subject any subscribers on that same connection may receive the message. Turning off echo is a fairly new feature for the NATS server, but some of the clients already support it.
|
||||
By default the server will echo messages. This means that if a publisher on a connection sends a message to a subject any subscribers on that same connection will receive the message. Turning off echo is a fairly new feature for the NATS server, but some of the clients already support it.
|
||||
|
||||
<div class="graphviz"><code data-viz="dot">
|
||||
digraph {
|
||||
|
||||
@@ -6,7 +6,7 @@ The client and server use a simple PING/PONG protocol to check that they are bot
|
||||
digraph g {
|
||||
rankdir=LR
|
||||
client [shape=box, style="rounded", label="NATS Client"];
|
||||
gnatsd [shape=circle, label="gnatsd"];
|
||||
gnatsd [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"];
|
||||
|
||||
client -> gnatsd [label="PING"];
|
||||
gnatsd -> client [label="PONG"];
|
||||
|
||||
Reference in New Issue
Block a user