Open srieteja opened 2 years ago
Would like your input on this topic @nickelskevin @tallent @cconstab. It would also be great if you could put down your requirements/expectations from this tool
Move to medium after arch call discussion
Motivation:
If an IoT device has an @ sign, it could be recording data for someone else. This could be the owner of the device or a third person for whom the device is working. This someone can change with time. For example, a "pulse oximeter" in a hospital will be recording oxygen saturation levels for different patients at different times. If the "pulse oximeter" is recording the saturation levels in its own secondary there is a need to make the data available to the patient to whom the data belongs.
Given this scenario, there is probably a need to export the data from a secondary in order to make it available for someone else. This exported data can then be imported back into the secondary server of the person for whom it is imported.
Design considerations:
Import export functionality is envisioned to be a separate library and not part of SDK
Three main questions need to be answered while exporting the data:
What keys to export? ~ regex ~ date range ~ what types of keys? public, self, shared ~ can cached keys be exported? ~ can the cached/shared keys shared by someone else be exported (Not the same person it is being exported for)
How to export?
~ format of the export
~ csv/json or someother format
~ masking
Where to export? ~ Disk-based file/Cloud storage/In memory file etc..
Following questions needs to be answered while importing the data:
Feature Description A tool to export data from a secondary in a format that is importable by another secondary.
Requirements
Decisions to be taken
Tasks