astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
236 stars 45 forks source link

[Housekeeping] Provide realm auto deletion functionality #945

Open nanjarapalli opened 2 months ago

nanjarapalli commented 2 months ago

Problem

When evaluating the astarte with different realms it becomes difficult to maintain all the realms and cleaning the unused realms. Hence requesting to extend housekeeping ream creation api to include TTL flag/paramter to auto delete the realm when set during realm creation

Annopaolo commented 2 months ago

Realm deletion implies data loss, so an automatic deletion based on TTL could open a number of problems (e.g. what about online devices whose realm has been auto-deleted?). We should carefully consider if we want to provide such a feature.