Describe the bug
There is provision in admin API to force delete subscription. But, when I am passing force=true in querystring I am getting response with a 204 status code. But, when checking the subscription list, that subscription is still there.
To Reproduce
Steps to reproduce the behavior:
- Run pulsar
- Create producer & consumer on that topic. Here I used pulsar-client-go 2.3.0
- Now call Delete subscription. e.g
localhost:8080/admin/v2/persistent/public/default/topic-1/subscription/my-subscription-name?force=true
- Now check using call to list subscription. e.g
localhost:8080/admin/v2/persistent/public/default/topic-1/subscriptions
Expected behavior
It should delete subscription or return error instead of 204 status code in case of error
Screenshots


Desktop (please complete the following information):
- OS: NA - Official docker image
Additional context
Pulsar version: 2.7.0
Env: Docker
Type: Standalone
Describe the bug
There is provision in admin API to force delete subscription. But, when I am passing force=true in querystring I am getting response with a 204 status code. But, when checking the subscription list, that subscription is still there.
To Reproduce
Steps to reproduce the behavior:
localhost:8080/admin/v2/persistent/public/default/topic-1/subscription/my-subscription-name?force=truelocalhost:8080/admin/v2/persistent/public/default/topic-1/subscriptionsExpected behavior
It should delete subscription or return error instead of 204 status code in case of error
Screenshots


Desktop (please complete the following information):
Additional context
Pulsar version: 2.7.0
Env: Docker
Type: Standalone