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] js_PauseConsumer support (also changed jsConsumerConfig, jsCo… #726

Merged
merged 7 commits into from
Mar 13, 2024

Conversation

levb
Copy link
Collaborator

@levb levb commented Mar 12, 2024

…nsumerInfo)

Fixes #717

@levb levb requested review from kozlovic and mtmk March 12, 2024 16:39
@@ -63,6 +63,7 @@ jobs:
packages:
- g++-9
env:
- NATS_TEST_SERVER_VERSION=main
Copy link
Member

Choose a reason for hiding this comment

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

Originally, the nats.c.deps contained the executable of the latest release and this is what we would be using. When in dev cycle, I would occasionally update the servers in nats.c.deps to a version that I needed for testing (say in this case here the server version that would contain the pause consumer feature).

Since it looks like we don't really need the nats.c.deps (at least for the NATS Server, we still need for the streaming server and the pbuf library), and since you have a matrix run for the latest server release already, maybe you could change the buildOnTravis.sh script to use main if NATS_TEST_SERVER_VERSION env variable is not set? So you would not have to add it here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I was thinking about doing that, and maybe testing with a few older server releases too. Separate PR? Here, I just wanted to make sure that my new tests are running with checks in CI.

src/nats.h Outdated Show resolved Hide resolved
test/test.c Show resolved Hide resolved
test/test.c Show resolved Hide resolved
test/test.c Show resolved Hide resolved
test/test.c Outdated Show resolved Hide resolved
test/test.c Outdated Show resolved Hide resolved
test/test.c Outdated Show resolved Hide resolved
src/jsm.c Outdated Show resolved Hide resolved
src/jsm.c Show resolved Hide resolved
@levb levb requested a review from kozlovic March 12, 2024 19:12
src/jsm.c Show resolved Hide resolved
@levb levb requested a review from kozlovic March 13, 2024 14:59
Copy link
Member

@kozlovic kozlovic 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 4b9f0ad into main Mar 13, 2024
2 checks passed
@levb levb deleted the lev-GH-717-consumer-pause branch March 13, 2024 15:15
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.

Implement Consumer Pause
2 participants