How to enable internal mqtt broker and mqtt2 binding in development environment?

This is probably a question for @David_Graeff

What is the suggested way to enable both the internal mqtt broker and mqtt2 binding in the Openhab development environment. I want it to persist between cleaning of userdata. Anyone have a sample set of dev configs to enable that?