You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/15 09:28:49 UTC

[GitHub] [pulsar] sbourkeostk commented on issue #6709: unsubscribe option for pulsar-client cli

sbourkeostk commented on issue #6709: unsubscribe option for pulsar-client cli
URL: https://github.com/apache/pulsar/issues/6709#issuecomment-613927526
 
 
   @sijie Yes, you can unsubscribe using the admin interface but that is not the same thing. Allowing the CLI client to unsubscribe itself has two main advantages:
   
   1. Users without access to the admin interface can unsubscribe
   2. Convenience - I suspect that a lot of users use `pulsar-client consume` to check that messages are flowing on a topic and they do not intend the subscription to persist. On our Pulsar test cluster we often see backlogs on subscriptions that were started with the CLI and the user neglected to unsubscribe.
   
   Going further, I think it would be good practice to the CLI unsubscribe be default with an option to persist the subscription.
   
   I know this would not be high priority but would you be opposed to a pull request for this feature if @315157973 or myself were willing to implement it?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services