You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/04 14:30:14 UTC

[GitHub] [pulsar] rshermanTHG opened a new pull request #4468: Add delete and peek functionality to dashboard

rshermanTHG opened a new pull request #4468: Add delete and peek functionality to dashboard
URL: https://github.com/apache/pulsar/pull/4468
 
 
   ### Motivation
   
   
   Add some administration functionality to the dashboard. 
   
   1. Ability to peek at the contents of messages in a subscriptions backlog
   2. Able to clear the backlog in a subscription
   3. Able to delete subscriptions that have no consumers
   4. Able to delete a namespace that has no topics
   
   ### Modifications
   
   All modifications are to the dashboard module only.
   
   - Added a new page that lists messages in the backlog as a link. When this link is clicked on the message pops up in a modal dialog
   - Added a deleted flag to several models and added this flag to the appropriate filters. (when an object is deleted this will keep the dashboard reflective of the state of the brokers until the next collector run).
   - Added functionality to delete a subscription if there are no consumers. Marks the subscription as deleted in the database. If this leaves a topic with no subscriptions then the topic is also marked in the database as deleted.
   - Added functionality to delete a namespace if there are no topics for that namespace. Marks the namespace as deleted in the database.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services