Is there any way to save aerospike data to mysql or sync to mysql ?
Aerospike can dump data in a text format using asbackup utility. Its format is documented. You can parse the data and export it to mysql.
Could you explain to to recover key from the key digest?
Also how to recover List and Map from the opaque byte value?
It’s a digest, those can’t be reversed. If you didn’t save the key explicitly by KEY_SEND (every client has this write policy) you don’t have this information. If you did set it, the key is stored in something like a hidden bin.
List and Map are msgpacked.