From 326c6b4d97b84471797aaa09fd3584033ac4e169 Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 4 Oct 2019 10:42:30 -0500 Subject: [PATCH] Update pubsub.md --- developer/tutorials/pubsub.md | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/developer/tutorials/pubsub.md b/developer/tutorials/pubsub.md index 0373382..27c4aea 100644 --- a/developer/tutorials/pubsub.md +++ b/developer/tutorials/pubsub.md @@ -2,39 +2,7 @@ NATS is a publish subscribe messaging system. Subscribers listening on a subject receive messages on that subject. If the subscriber is not actively listening on the subject, the message is not received. Subscribers can use the wildcard tokens such as `*` and `>` to match a single token or to match the tail of a subject. -
-digraph nats_pub_sub { - graph [splines=ortho, nodesep=1]; - - sub1 [shape="box", label="SUB\ncom.msg.one"]; - pub1 [shape="box", label="PUB\ncom.msg.one"]; - non_active [shape="box", label="Non-Active\nSubscriber"]; - - { - rank=same - pub1 sub1 non_active - } - - natsserver [shape="box", label="NATS", width=8]; - - sub2 [shape="box", label="SUB\ncom.msg.one"]; - sub3 [shape="box", label="SUB\ncom.msg.two"]; - sub4 [shape="box", label="SUB\ncom.msg.*"]; - - { - rank=same - sub2 sub3 sub4 - } - - pub1 -> natsserver [penwidth=2]; - natsserver -> sub1 [penwidth=2]; - natsserver -> non_active [style=dashed color=red arrowhead="none"]; - - natsserver -> sub2 [penwidth=2]; - natsserver -> sub3 [style=dashed color=red arrowhead="none"]; - natsserver -> sub4 [penwidth=2]; -} -
+![pub/sub](/assets/images/pubsubtut.svg) ## Prerequisites