More options, or configuration parameters, of storeAndForwardConfiguration
storeAndForwardConfiguration has a parameter, timeToLiveSecs to specify offline period to retain data.
Preferable to add following 3 parameters to storeAndForwardConfiguration
1. Limit the amount of disk usage to be used for SnF feature.
2. Specify the directory/path of storage for SnF feature
3. Flush un-forwarded messages in SnF memory out to specified files
In Addition when the limit is reached it would be useful to have a behavior similar to a circular buffer.
It could be a configuration parameter.
In addition, especially for low bandwidth scenarios, it should be possible to control the send order of the cached messages through message parameters in addition to the TTL configuration (e.g. send order message priority, different ttl per message group, …) - refer to https://feedback.azure.com/forums/907045-azure-iot-edge/suggestions/36632884-low-bandwidth-partially-connected-message-deliv
Manoj Prabhu commented
Additionally configuration parameter(s) to control caching at edge platform and sending the messages upstream. This is like pause and re-start control for sending messages. Pause and re-start further could be based on size of message or for specific time.