9(names are case sensitive, and cannot contain whitespace). Special characters: The period
.(which is used to separate the tokens in the subject) and
>are used as wildcards). Reserved subject names: By convention subject names starting with a
$are reserved for system use (e.g. subject names starting with
.character is used to create a subject hierarchy. For example, a world clock application might define the following to logically group related subjects:
*which will match a single token. For example, if an application wanted to listen for eastern time zones, they could subscribe to
time.*.east, which would match
>which will match one or more tokens, and can only appear at the end of the subject. For example,
time.us.*would only match
time.us.eastsince it can't match more than one token.
>. This application will receive all messages -- again, subject to security settings -- sent on your NATS cluster.
*can appear multiple times in the same subject. Both types can be used as well. For example,