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

[FIXED] JetStream: Ordered Consumer could stop receiving messages #601

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Oct 7, 2022

Resetting some of the JS subscription needs to be done "in-place" as opposed to in the thread that attempts to recreate it.

Also speed up the reset on reconnect (as opposed to wait for missed hearbeats). Of course, it could be that the reset is for nothing if nothing was missing.

Signed-off-by: Ivan Kozlovic [email protected]

Resetting some of the JS subscription needs to be done "in-place"
as opposed to in the thread that attempts to recreate it.

Also speed up the reset on reconnect (as opposed to wait for missed
hearbeats). Of course, it could be that the reset is for nothing
if nothing was missing.

Signed-off-by: Ivan Kozlovic <[email protected]>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@kozlovic kozlovic merged commit 46014e2 into main Oct 7, 2022
@kozlovic kozlovic deleted the js_oc_issues branch October 7, 2022 04:29
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