jeantil commented on PR #2423:
URL: https://github.com/apache/james-project/pull/2423#issuecomment-2378986394

   > Not mutually exclusive, right? Or does this work already deliver somehow 
promisses of a "good citizen cleanup"?
   
   Unfortunately is seems to be mutually exclusive.
   
   Putting this code either at the beginning or at the end of the `close()` 
method 
   ```
     admin.topics().deleteSubscription(filterTopic.name, 
filterSubscription.name)
     admin.topics().deleteSubscription(filterScheduledTopic.name, 
scheduledFilterSubscription.name)
   ```
    fails 
   * at the begging with
   ```
   
org.apache.pulsar.client.admin.PulsarAdminException$PreconditionFailedException:
 Subscription has active connected consumers
   ```
   * at the end with
   ```
   org.apache.pulsar.client.admin.PulsarAdminException$NotFoundException: 
Subscription 
filter-subscription-cmieYQmrma-dce269ce-d092-4dc4-ae2b-e82a4d05cf83 not found 
for topic persistent://test/czSUkoXioi/pmq-filter-cmieYQmrma
   ``` 


-- 
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: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to