Is there a way i can save settings into a file (Storing the file in spark) …
The idea is i want to update these settings from the cloud into a settings file (small file it wont exceed the 2kb).
Save file and read from file . ?
2- Will the file be lost if the spark core turned off ?
Thanks all for such community and such help as always
You may want to check out the Persisting state thread. I believe what you’re interested in is being discussed at length in that thread. You wouldn’t store the settings in a file per se, but would be storing values in EEPROM/flash memory locations instead.