Skip to content

Conversation

nickolaj-jepsen
Copy link

Avoids setting filter_subject if filter_subjects is set, this avoids the server throwing this error when creating a consumer: "consumer cannot have both FilterSubject and FilterSubjects specified"

fixes: #710

Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request. This seems sound, would need a test case however.

@nickolaj-jepsen
Copy link
Author

Hi @caspervonb, thanks for the review, I've added a test case for both the push and pull based subscriber. Let me know if you want any additional tests 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to create jetstream consumer if filter_subjects is specified
2 participants