-
Notifications
You must be signed in to change notification settings - Fork 699
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] Remove ConsumerInfo()
calls in Consume()
and Messages()
after reconnect.
#1643
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wallyqs
approved these changes
Jun 10, 2024
piotrpio
force-pushed
the
fix-consumer-reconnect
branch
2 times, most recently
from
June 10, 2024 14:43
496c95f
to
9c4331e
Compare
Jarema
reviewed
Jun 10, 2024
This was referenced Jun 11, 2024
Jarema
approved these changes
Jun 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
piotrpio
force-pushed
the
fix-consumer-reconnect
branch
2 times, most recently
from
June 13, 2024 12:20
4b04df2
to
c880273
Compare
piotrpio
changed the title
[FIXED] Unlimited
[FIXED] Remove Jun 13, 2024
ConsumerInfo()
calls in Consume()
after reconnect.ConsumerInfo()
calls in Consume()
and Messages()
after reconnect.
piotrpio
force-pushed
the
fix-consumer-reconnect
branch
from
June 13, 2024 18:10
c880273
to
4a13b59
Compare
This fixes an issue in `Consume()` and `Messages()` where a limited number of ConsumerInfo() attempts (10) meant that if JetStream was not available for longer than ~90s after reconnect the process was stopped. The number of retry attempts is now unlimited, reporting a transient error on each failed attempt. Signed-off-by: Piotr Piotrowski <[email protected]>
piotrpio
force-pushed
the
fix-consumer-reconnect
branch
2 times, most recently
from
June 13, 2024 21:36
6f47d1e
to
35b4ad1
Compare
- `Consume()` and `Messages()` no longer call `ConsumerInfo()` on upon reconnect. - Ordered consumers now reset on each reconnect event. Signed-off-by: Piotr Piotrowski <[email protected]>
piotrpio
force-pushed
the
fix-consumer-reconnect
branch
from
June 13, 2024 21:40
35b4ad1
to
b6eabcb
Compare
Merged
piotrpio
added a commit
that referenced
this pull request
Aug 15, 2024
… after reconnect. (#1643) - `Consume()` and `Messages()` no longer call `ConsumerInfo()` on upon reconnect. - Ordered consumers now reset on each reconnect event. Signed-off-by: Piotr Piotrowski <[email protected]>
piotrpio
added a commit
that referenced
this pull request
Aug 15, 2024
… after reconnect. (#1643) - `Consume()` and `Messages()` no longer call `ConsumerInfo()` on upon reconnect. - Ordered consumers now reset on each reconnect event. Signed-off-by: Piotr Piotrowski <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Consume()
andMessages()
no longer callConsumerInfo()
on upon reconnect.Signed-off-by: Piotr Piotrowski [email protected]