Multiple MQTT Servers

Hello. Is it possible to setup openHab to use more than one MQTT server. Basically I want to standard mosquitto server for my own stuff. But I have a friend that wants to send data to a cloud mqtt server that I want to then collect data from also.

I believe so although I have not done it myself. I think you just need to define multiple brokers with different names and servers in the config file and then point item configs to the applicable broker name. Have a read here:

https://docs.openhab.org/addons/bindings/mqtt1/readme.html#transport-configuration

You have to define two broker with different names. I use it this way for choosing between retained and normal messages.