Implementing extension with MongoDB database driver

Answered here: Need help with HiveMQ SDK API's