Skip to content
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

[ADDED] Support for (multiple) ConsumerConfig.FilterSubjects #679

Merged
merged 7 commits into from
Sep 15, 2023

Conversation

levb
Copy link
Collaborator

@levb levb commented Sep 12, 2023

@mtmk @piotrpio @Jarema I am not sure how much client logic there needs to be if both FilterSubject and FilterSubjects are set; I tried to match the subscription<>consumer filter logic, otherwise the changes are minimal, just added the fields. LMK if you think more needs to be done here.

@levb levb marked this pull request as draft September 13, 2023 15:31
- Use Ubuntu focal 20.04
- Added testing against nats-server latest release, and against the `dev` branch
- Changed gcc `sanitize=address` builds to Debug to get line numbers in the output
- Added `NATS_TEST_VALGRIND=yes` to `sanitize=thread` to reduce repeat counts and avoid timeouts
@levb levb changed the base branch from dev to lev-fix-travis-ci September 13, 2023 18:38
src/jsm.c Outdated Show resolved Hide resolved
Co-authored-by: Ziya Suzen <ziya@suzen.net>
@levb levb marked this pull request as ready for review September 14, 2023 13:22
@levb levb requested a review from mtmk September 14, 2023 13:22
Copy link
Contributor

@mtmk mtmk left a comment

Choose a reason for hiding this comment

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

LGTM

@levb
Copy link
Collaborator Author

levb commented Sep 14, 2023

Test_ServerPoolUpdatedOnClusterUpdate seems to be flapping a lot (after the OS change?), investigating.

Base automatically changed from lev-fix-travis-ci to dev September 15, 2023 15:53
@levb levb merged commit b8a27cf into dev Sep 15, 2023
2 checks passed
@levb levb deleted the lev-2-10-filter-subjects branch September 15, 2023 16:32
levb added a commit that referenced this pull request Oct 12, 2023
* [CHANGED] Travis build changes (#680)

* [CHANGED] Travis build changes

- Use Ubuntu focal 20.04
- Added testing against nats-server latest release, and against the `dev` branch
- Changed gcc `sanitize=address` builds to Debug to get line numbers in the output
- Added `NATS_TEST_VALGRIND=yes` to `sanitize=thread` to reduce repeat counts and avoid timeouts

* Update buildOnTravis.sh

Co-authored-by: Ziya Suzen <ziya@suzen.net>

* Fixed flapping test_ServerPoolUpdatedOnClusterUpdate

* PR feedback: test _checkPool to retry # subjects

* PR feedback: refactored _checkPool

---------

Co-authored-by: Ziya Suzen <ziya@suzen.net>

* [ADDED] Support for (multiple) ConsumerConfig.FilterSubjects (#679)

* [CHANGED] Travis build changes

- Use Ubuntu focal 20.04
- Added testing against nats-server latest release, and against the `dev` branch
- Changed gcc `sanitize=address` builds to Debug to get line numbers in the output
- Added `NATS_TEST_VALGRIND=yes` to `sanitize=thread` to reduce repeat counts and avoid timeouts

* Update buildOnTravis.sh

Co-authored-by: Ziya Suzen <ziya@suzen.net>

* Fixed flapping test_ServerPoolUpdatedOnClusterUpdate

* [ADDED] Support for (multiple) ConsumerConfig.FilterSubjects

* PR feedback: took out a redundant check

* point travis to build with NATS main, not dev

---------

Co-authored-by: Ziya Suzen <ziya@suzen.net>

* [Added] More v2.10 related changes (#682)

* Added Metadata to Stream, Consumer configs
Merged some other fixes from go PR

* leak

* Added jsStreamConfig.Compression

* Added jsStreamConfig.FirstSeq

* Added jsStreamConfig.SubjectTransform

* Added jsStreamSourceInfo.SubjectTransforms and .FilterSubjects

* Added jsStreamConfig.ConsumerLimits

* PR feedback: nits

* PR feedback: verify metadata values in test

* PR feedback: fix a cast

* Fixed the broken test (order of values)

---------

Co-authored-by: Ziya Suzen <ziya@suzen.net>
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.

None yet

2 participants