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] More v2.10 related changes #682

Merged
merged 11 commits into from
Oct 12, 2023
Merged

[Added] More v2.10 related changes #682

merged 11 commits into from
Oct 12, 2023

Conversation

levb
Copy link
Collaborator

@levb levb commented Sep 25, 2023

DONE:
  • Added Metadata to jsStreamConfig and jsConsumerConfig (*) affects micro Metadata structs as well
  • Added Compression, FirstSeq, SubjectTransforms, ConsumerLimits to jsStreamConfig
  • Added SubjectTransforms to jsStreamSourceInfo
TODO:

@levb levb marked this pull request as ready for review September 27, 2023 12:15
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.

Looks good just have a few questions really.

src/util.c Show resolved Hide resolved
src/util.c Show resolved Hide resolved
src/jsm.c Outdated Show resolved Hide resolved
src/nats.h Show resolved Hide resolved
test/test.c Show resolved Hide resolved
Copy link
Collaborator Author

@levb levb left a comment

Choose a reason for hiding this comment

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

@mtmk THX, please see comments/changes

src/jsm.c Outdated Show resolved Hide resolved
src/util.c Show resolved Hide resolved
src/util.c Show resolved Hide resolved
@levb levb requested a review from mtmk September 28, 2023 19:31
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 levb merged commit 204f256 into dev Oct 12, 2023
2 checks passed
@levb levb deleted the lev-2-10-metadata branch October 12, 2023 12:35
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