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

Auto reconnect durable pull consumer #1429

Closed
tamalsaha opened this issue Oct 4, 2023 · 2 comments
Closed

Auto reconnect durable pull consumer #1429

tamalsaha opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels
proposal Enhancement idea or proposal

Comments

@tamalsaha
Copy link

What motivated this proposal?

It seems to me that durable pull consumers do not auto reconnect, if nats server is re-started or there is temporary disconnected network. Is that correct? If yes, how to auto reconnect the durable consumer?

I am using the new jetstream package.

What is the proposed change?

How to auto reconnect the durable consumer?

Who benefits from this change?

No response

What alternatives have you evaluated?

No response

@tamalsaha tamalsaha added the proposal Enhancement idea or proposal label Oct 4, 2023
@piotrpio
Copy link
Collaborator

piotrpio commented Oct 4, 2023

Hello @tamalsaha, thanks for reporting the issue. It is definitely a bug introduced in previous releases. I have a fix ready here: #1428

Once it' merged it will be included in the next release.

@piotrpio piotrpio self-assigned this Oct 4, 2023
@piotrpio
Copy link
Collaborator

The PR was merged, it's available in nats.go@v1.31.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

2 participants