EMQX Message persistence for open source V5.0

I have two questions regarding the message persistence and data backup

  • using emqx open source version 5.0 , can we use external database as a storge for message persistence ? if yes I want to know how this can be implemented with mysql Database ?

  • in Kubernetes deployment using operator , how to guarantee that the messages and configs will not be lost when restart the container ?