What's a subj parameter of a JetStream.PullSubscribe() method for? #1007
-
What's a I observe following behavior:
Is this parameter of any use? |
Beta Was this translation helpful? Give feedback.
Answered by
derekcollison
Jun 25, 2022
Replies: 1 comment 2 replies
-
If the call creates a pull consumer it will use the subject as a filter subject for the consumer. Consumers can filter messages from a parent stream. If the consumer already exists it will select it based on the subject. This behavior is being simplified in the next version of the JetStream API which is coming rsn. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
derekcollison
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the call creates a pull consumer it will use the subject as a filter subject for the consumer. Consumers can filter messages from a parent stream.
If the consumer already exists it will select it based on the subject.
This behavior is being simplified in the next version of the JetStream API which is coming rsn.