You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behaviour of TopicConsumer::closealso 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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: