alpreu opened a new issue, #20947:
URL: https://github.com/apache/pulsar/issues/20947

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   When creating a `Consumer` using a `NonDurable` subscription, when calling 
`unsubscribe`, we get an Exception saying `ManagedCursor not found: 
<consumerNam>`.  This is misleading because there is no cursor for non durable 
subscriptions. 
   
   ### Solution
   
   Ideally, the Exception message should be something like `NonDurable 
subscriptions do not need to be unsubscribed. They are automatically removed 
after all Consumers have disconnected.`
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to