Search before asking
Read release policy
Version
OS: Ubuntu 23.10
Docker Pulsar standalone 3.1.2
Minimal reproduce step
Using Java client suggesting that adminClient is of type PulsarAdmin:
invoke adminClient.topics().deleteSubscription(*topicName*, *subName*, true) which deletes the subscription forcefully on a persistent topic (on a non-persistent topic it works just fine) and on subscription (same for durable and non-durable) with some active consumers.
It could be connected with #9477 also.
What did you expect to see?
Expected to delete subscriptions with active consumers.
What did you see instead?
I get an error:
org.apache.pulsar.client.admin.PulsarAdminException$PreconditionFailedException: Subscription has active connected consumers
Anything else?
No response
Are you willing to submit a PR?
Search before asking
Read release policy
Version
OS: Ubuntu 23.10
Docker Pulsar standalone 3.1.2
Minimal reproduce step
Using Java client suggesting that
adminClientis of typePulsarAdmin:invoke
adminClient.topics().deleteSubscription(*topicName*, *subName*, true)which deletes the subscription forcefully on a persistent topic (on a non-persistent topic it works just fine) and on subscription (same for durable and non-durable) with some active consumers.It could be connected with #9477 also.
What did you expect to see?
Expected to delete subscriptions with active consumers.
What did you see instead?
I get an error:
org.apache.pulsar.client.admin.PulsarAdminException$PreconditionFailedException: Subscription has active connected consumersAnything else?
No response
Are you willing to submit a PR?