From 71172b43166c4341ef3084312efdd997c4bcfe47 Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Fri, 5 Mar 2021 09:06:35 -0700 Subject: [PATCH] Fix typo Co-authored-by: Colin Sullivan --- nats-server/configuration/mqtt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nats-server/configuration/mqtt/README.md b/nats-server/configuration/mqtt/README.md index 501cb72..29f21a8 100644 --- a/nats-server/configuration/mqtt/README.md +++ b/nats-server/configuration/mqtt/README.md @@ -61,7 +61,7 @@ allowed only for subscriptions, not for published messages. | `#` | `>` | | `+` | `*` | -The wilcard `#` matches any number of levels within a topic, which means that a subscription +The wildcard `#` matches any number of levels within a topic, which means that a subscription on `foo/#` would receive messages on `foo/bar`, or `foo/bar/baz`, but also on `foo`. This is not the case in NATS where a subscription on `foo.>` can receive messages on `foo/bar` or `foo/bar/baz`, but not on `foo`. To solve this, NATS Server will create two subscriptions,