You can buy this project and download/modify it how often you want.
Files of the artifact smart-mqtt-data-persistence version 0.33 from the group org.smartboot.mqtt.