From 049617b61de6bdb9b2190b5be0896a4921a2901c Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 4 Oct 2019 11:08:20 -0500 Subject: [PATCH] Update pubsub.md --- developer/concepts/pubsub.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/developer/concepts/pubsub.md b/developer/concepts/pubsub.md index af820c0..1cc9c2a 100644 --- a/developer/concepts/pubsub.md +++ b/developer/concepts/pubsub.md @@ -2,20 +2,6 @@ NATS implements a publish-subscribe message distribution model for one-to-many communication. A publisher sends a message on a subject and any active subscriber listening on that subject receives the message. Subscribers can also register interest in wildcard subjects that work a bit like a regular expression (but only a bit). This one-to-many pattern is sometimes called fan-out. -
-digraph nats_pub_sub { - rankdir=LR - publisher [shape=box, style="rounded", label="Publisher"]; - subject [shape=circle, label="Subject"]; - sub1 [shape=box, style="rounded", label="Subscriber"]; - sub2 [shape=box, style="rounded", label="Subscriber"]; - sub3 [shape=box, style="rounded", label="Subscriber"]; +![pubsub](/assets/images/pubsub.svg) - publisher -> subject [label="msg1"]; - subject -> sub1 [label="msg1"]; - subject -> sub2 [label="msg1"]; - subject -> sub3 [label="msg1"]; -} -
- -Try NATS publish subscribe on your own, using a live server by walking through the [pub-sub tutorial](../tutorials/pubsub.md). \ No newline at end of file +Try NATS publish subscribe on your own, using a live server by walking through the [pub-sub tutorial](../tutorials/pubsub.md).