astarte-platform / astarte

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

Add expiry to RabbitMQ messages #662

Open Annopaolo opened 2 years ago

Annopaolo commented 2 years ago

When some services are not available, it is possible that RMQ queues fill up to a large amount of messages, making it difficult for Astarte components to keep in sync. E.g. when connection/disconnection triggers are not handled correctly by a third part, it is possible that the third part sees a different device connection status than the one provided by Astarte. Allow to add an expiry to RMQ messages in order to prevent queues to fill up when availability is more important than consistency. As this might conflict with other properties, such as QoS, some discussion is needed. This should probably be a feature gate.

atsetilam commented 2 years ago

Any ETA for the resolution of this issue?