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

JSMsg.next() - pull next message (or batch) #282

Merged
merged 1 commit into from
Apr 14, 2022
Merged

JSMsg.next() - pull next message (or batch) #282

merged 1 commit into from
Apr 14, 2022

Conversation

aricart
Copy link
Member

@aricart aricart commented Apr 14, 2022

[FEAT] next() - allows a JetStream pull subscription using a callback to simplify ack'ing and pulling the next message (or batch of messages). This strategy doesn't require timers, as the server returns an error if the request times out.

…k to simplify ack'ing and pull the next message (or batch of messages). This strategy doesn't require timers as the server will return an error if the request times-out.
@aricart aricart requested a review from kozlovic April 14, 2022 02:49
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!

@aricart aricart merged commit 31a10b3 into main Apr 14, 2022
@aricart aricart deleted the pull-next branch April 14, 2022 13:40
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.

2 participants