Skip to content

Subject token limit #5097

Answered by MauriceVanVeen
albionb96 asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed number 2, also as described here: https://docs.nats.io/nats-concepts/subjects#characters-allowed-for-subject-names

Special characters: The period . (which is used to separate the tokens in the subject) and * and also > (the * and > are used as wildcards).

The . separates tokens. Should indeed keep that at a reasonable value and not go overboard with the amount of tokens. That way the server can guarantee performance of subjects up to that maximum, although it's probably not strictly enforced it would have performance impact.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by albionb96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants