novu
novu copied to clipboard
🚀 Feature: Remove subscription on topic when subscriber is deleted
🔖 Feature description
It would be nice of the deletion of a subscriber would also remove them from all topics. At the moment, the subscribers of the affected topics remain untouched.
🎤 Why is this feature needed ?
- For data consistency
- To avoid a bloated data base
- Because it's hard to achieve that manually - as far as I can tell I cannot query all topics of a subscriber to revoke the existing subscriptions manually.
✌️ How do you aim to achieve this?
The DELETE
call for a subscriber would trigger some kind of internal cleanup process unregistering them from all topics. Alternatively, I can query a list of all exisitng subscriptions for that subscriber, so this can be done automatically. The latter would mean more roundtrips and soome potential inconsistency if the subscriber assigned to another topic between my query of their subscriptions and subscriber deletion.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Contributing Guidelines
Are you willing to submit PR?
None
can i be assigned this one please
can i work on this?
The Novu team plans to work on this in the future, however we need to resolve some other tech debt before this can happen.