Description
When using topics with durable subscriptions, where subscribers disconnect for a while, there is no task that checks for expired messages on the durable subscription.
In case where subscribers are disconnected for hours and message are still sent with a TTL, it may happen that either the producer gets blocked (in case of flow control) or the broker runs out of persistent storage (no flow control) just because of msgs that are already expired.
Similar to queues, there should be a periodic task that checks for expired msgs on durable topic subs. This task should also be configurable using a property similar to expireMessagesPeriod.