NATS C Client with JetStream and Streaming support: Wildcards

NATS C Client with JetStream and Streaming support 3.4.1 The nats.io C Client, Supported by Synadia Communications Inc.

Loading...
Searching...
No Matches
Wildcards

Use of wildcards. There are two type of wildcards: `*` for partial, and `>` for full.

A subscription on subject `foo.*` would receive messages sent to:

- `foo.bar`
- `foo.baz`

but not on:

- `foo.bar.baz` (too many elements)
- `bar.foo`. (does not start with `foo`).

A subscription on subject `foo.>` would receive messages sent to:

- `foo.bar`
- `foo.baz`
- `foo.bar.baz`

but not on:

- `foo` (only one element, needs at least two)
- `bar.baz` (does not start with `foo`).