-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use new consumer create subject when single subject filter specified in SubjectFilters
#4564
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
neilalexander
force-pushed
the
neil/filtersubject
branch
from
September 19, 2023 22:46
1f825a8
to
cb6b6ce
Compare
LGTM |
neilalexander
force-pushed
the
neil/filtersubject
branch
from
September 19, 2023 22:59
cb6b6ce
to
e98dfc8
Compare
LGTM - let's get those test flappers fixed and light the candle. |
This test (at least) is truly broke, so we need to fix it.
|
The change introduced a breaking behavior. |
neilalexander
force-pushed
the
neil/filtersubject
branch
from
September 20, 2023 09:50
3dc6b14
to
946df26
Compare
…in `SubjectFilters` Signed-off-by: Neil Twigg <neil@nats.io>
The server consumer creation code is picky and does indeed not accept a request send to the ExT subject if that request specifies the subject filter in the array (even if there is only one entry in the array). Signed-off-by: Jean-Noël Moyne <jnmoyne@gmail.com> Signed-off-by: Neil Twigg <neil@nats.io> Co-authored-by: Jean-Noël Moyne <jnmoyne@gmail.com> Co-authored-by: Neil Twigg <neil@nats.io>
neilalexander
force-pushed
the
neil/filtersubject
branch
from
September 20, 2023 09:51
946df26
to
40ce0a9
Compare
Have added a comment explaining what is happening and rebased to top of Thanks @jnmoyne for the fix! |
derekcollison
approved these changes
Sep 20, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes an issue where specifying a single subject filter, i.e. in
SubjectFilters
orSubjectTransforms
, instead of usingSubjectFilter
would result in the old consumer create subject being incorrectly used.Signed-off-by: Neil Twigg neil@nats.io