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

Update pubsub.md

This commit is contained in:
Ginger Collison 2019-06-07 09:14:25 -05:00 committed by GitHub
parent 5ee6d5a9a0
commit 0a7b673ff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ digraph nats_pub_sub {
pub1 sub1 non_active pub1 sub1 non_active
} }
nats-server [shape="box", label="NATS", width=8]; gnatsd [shape="box", label="NATS", width=8];
sub2 [shape="box", label="SUB\ncom.msg.one"]; sub2 [shape="box", label="SUB\ncom.msg.one"];
sub3 [shape="box", label="SUB\ncom.msg.two"]; sub3 [shape="box", label="SUB\ncom.msg.two"];
@ -26,13 +26,13 @@ digraph nats_pub_sub {
sub2 sub3 sub4 sub2 sub3 sub4
} }
pub1 -> nats-server [penwidth=2]; pub1 -> gnatsd [penwidth=2];
nats-server -> sub1 [penwidth=2]; gnatsd -> sub1 [penwidth=2];
nats-server -> non_active [style=dashed color=red arrowhead="none"]; gnatsd -> non_active [style=dashed color=red arrowhead="none"];
nats-server -> sub2 [penwidth=2]; gnatsd -> sub2 [penwidth=2];
nats-server -> sub3 [style=dashed color=red arrowhead="none"]; gnatsd -> sub3 [style=dashed color=red arrowhead="none"];
nats-server -> sub4 [penwidth=2]; gnatsd -> sub4 [penwidth=2];
} }
</code></div> </code></div>