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

Release async-nats v0.31.0 #1054

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Release async-nats v0.31.0 #1054

merged 1 commit into from
Jul 25, 2023

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Jul 24, 2023

0.31.0

This release focuses on improvements of heartbeats in JetStream Consumers.

Heartbeats are a tool that tells the user if the given consumer is healthy but does not get any messages or if the reason for no message is an actual problem.
However, if the user was not polling the Stream future for the next messages for a long time (because it was slowly processing messages), that could trigger idle heartbeats, as the library could not see the heartbeat messages without messages being polled.

This release fixes it by starting the idle heartbeat timer only after Stream future is polled (which usually means calling messages.next().await).

What's Changed

Full Changelog: async-nats/v0.30.0...async-nats/v0.30.1

Signed-off-by: Tomasz Pietrek tomasz@nats.io

@Jarema Jarema requested a review from caspervonb July 24, 2023 18:06
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@Jarema Jarema force-pushed the release-v0.31.0 branch from 5c595a9 to d8d2637 Compare July 25, 2023 07:06
@Jarema Jarema merged commit c891cd9 into main Jul 25, 2023
@Jarema Jarema deleted the release-v0.31.0 branch July 25, 2023 08:41
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