In our system, we have 3 subscriptions. The data on 1 of the subscriptions changes relatively often, at least every 5 minutes per device. (Typically it is every few seconds, but we've seen instances of ideal devices going for about 5 minutes without data changes.
But for two of the subscription, it is not uncommon for an event not to fire for hours or days. During our testing, we've simulated no events firing for 5+ days and the data change event fired without issue. This is great, but our team has some concerns, so I'm hoping you can answer the following questions for us.
But for two of the subscription, it is not uncommon for an event not to fire for hours or days. During our testing, we've simulated no events firing for 5+ days and the data change event fired without issue. This is great, but our team has some concerns, so I'm hoping you can answer the following questions for us.
- Is there a max value for subscription inactivity?
- Is it possible for 1 of the subscriptions to disconnect or "go bad" while the other subscriptions remain active and functioning as normal?
- Is there a way to determine when the last keep-alive was received from the server for a given subscription?
- Once a subscription has been created, is there any status available on the subscription that can be obtained? Like when the last time a message was received or when the last week-alive was received?