-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Purge retained topics hierarchy - recursive removal #43
Comments
Thought about it, dismissed it because I did not know where to put the button. |
I think the recursive model is a bit too powerful, it could potentially clear the hole broker and therefore have unforeseen side-effects. |
That's a shame as it would have been so useful to me. Hive include this functionality as a plugin. I understand the concern but there could be a warning dialog or even an 'advanced features' enable option somewhere. My topics that I wanted to delete are hundreds of sub topics. I couldn't use a delete on each topic. |
Yes please, ran into this recently and ended up purging the entire Mosquitto database to get the job done! |
I limited the removal to 50 topics per click, this will be enough to get most of the tiresome work done, without being a "nuke". Funfact: This feature works well with the search function. Will be even more powerful when one can customize the search funktion: Use regex, limit search to topic or message body. |
Has been released |
Woow. Thanks! Great tool! |
Can now also been done with de Del & Backspace keys. |
@thomasnordquist It would be great to enable recursively more than 50 topics. If you're worried about users shooting themselves in the foot, you could make it a hidden "power user" option to enable unlimited recursive deletes. I have several topics from using Home Assistant that I need to delete, and they have thousands of subtopics. |
@thomasnordquist I can second @larstobi 's opinion. I am also working with Home Assistant and it is quite tiring to reset (delete) all the topics. |
I used a workaround by using a mqtt CLI to recursively delete them. |
I would find it very useful to be able to select a 'top' level topic and delete all the retained messages underneath. A bit like selecting the new retained/delete option but higher in the hierarchy.
Otherwise it's a laborious task....
The text was updated successfully, but these errors were encountered: