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

[Issue #4756][broker] Process requests asynchronously on some REST APIs (3) #4795

Merged
merged 2 commits into from
Jul 25, 2019

Conversation

massakam
Copy link
Contributor

@massakam massakam commented Jul 24, 2019

Master Issue: #4756

Motivation

This is a continuation of #4778.

Modifications

Added async rest handlers to the following APIs:

DELETE /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/partitions
GET    /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscriptions
PUT    /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}
DELETE /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}
POST   /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}/skip_all
POST   /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}/resetcursor/{timestamp}
POST   /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}/expireMessages/{expireTimeInSeconds}
POST   /admin/persistent/{tenant}/{cluster}/{namespace}/{topic}/all_subscription/expireMessages/{expireTimeInSeconds}

DELETE /admin/v2/persistent/{tenant}/{namespace}/{topic}/partitions
GET    /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscriptions
PUT    /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}
DELETE /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}
POST   /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}/skip_all
POST   /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}/resetcursor/{timestamp}
POST   /admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}/expireMessages/{expireTimeInSeconds}
POST   /admin/v2/persistent/{tenant}/{namespace}/{topic}/all_subscription/expireMessages/{expireTimeInSeconds}

Verifying this change

  • Make sure that the change passes the CI checks.

@massakam massakam added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker labels Jul 24, 2019
@massakam massakam added this to the 2.5.0 milestone Jul 24, 2019
@massakam massakam self-assigned this Jul 24, 2019
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat merlimat merged commit 87c02a9 into apache:master Jul 25, 2019
easyfan pushed a commit to easyfan/pulsar that referenced this pull request Jul 26, 2019
…EST APIs (3) (apache#4795)

* Process requests asynchronously on some REST APIs (3)

* Add async rest handler to API for expiring message on single topic subscription
@massakam massakam deleted the async-rest-api-3 branch July 26, 2019 01:55
wolfstudy pushed a commit that referenced this pull request Nov 20, 2019
…Is (3) (#4795)

* Process requests asynchronously on some REST APIs (3)

* Add async rest handler to API for expiring message on single topic subscription

(cherry picked from commit 87c02a9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker 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 this pull request may close these issues.

None yet

3 participants