Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to force delete subscribers #6043

Closed
blsnt opened this issue Jan 14, 2020 · 1 comment · Fixed by #6383
Closed

How to force delete subscribers #6043

blsnt opened this issue Jan 14, 2020 · 1 comment · Fixed by #6383
Labels
area/admin area/cli help wanted type/bug The PR fixed a bug or issue reported a bug type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Comments

@blsnt
Copy link

blsnt commented Jan 14, 2020

pulsar-admin topics unsubscribe persistent://public/default/xxx -s xxx

14:57:36.617 [AsyncHttpClient-5-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/merchant-item-sit/subscription/ypsx-wms-sit] Failed to perform http delete request: javax.ws.rs.ClientErrorException: HTTP 412 Precondition Failed
Subscription has active connected consumers

Reason: Subscription has active connected consumers

@blsnt blsnt added the type/bug The PR fixed a bug or issue reported a bug label Jan 14, 2020
@sijie
Copy link
Member

sijie commented Jan 14, 2020

@blsnt oh i see. it seems that the current restful API doesn't support force deleting subscription.

@sijie sijie added area/admin area/cli help wanted triage/week-3 type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages labels Jan 14, 2020
sijie pushed a commit that referenced this issue Mar 25, 2020
### Motivation

Fixes #6043

### Modifications

Add method `deleteForcefully` to support force deleting subscription.
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this issue Aug 24, 2020
### Motivation

Fixes apache#6043

### Modifications

Add method `deleteForcefully` to support force deleting subscription.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin area/cli help wanted type/bug The PR fixed a bug or issue reported a bug type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants