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

Unable to cleanly close a consumer without unsubscribing from a topic #279

Closed
klaatu01 opened this issue May 25, 2023 · 2 comments
Closed

Comments

@klaatu01
Copy link
Contributor

The current behaviour of TopicConsumer::close also unsubscribes from a topic.

In my organisation, we use pulsar as an event broker between bounded contexts, our topics are persistent, and subscriptions are meant for long-term consumption and should outlive the clients consuming from them.

After digging through both the GoLang client and Java client it seems like neither of these perform and unsubscription on close.

I can make a PR to either fix this or add a new function for closing without unsubscribing.

@tisonkun
Copy link
Contributor

tisonkun commented Jun 1, 2023

Closed by #278.

Releasing 6.0.0 for this one..

@tisonkun tisonkun closed this as completed Jun 1, 2023
@tisonkun
Copy link
Contributor

tisonkun commented Jun 1, 2023

Released as https://crates.io/crates/pulsar/6.0.0. Thank you @klaatu01!

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

No branches or pull requests

2 participants