Multiple mqtt clients - how?

Hi!
It’s possible to have multiple mqttclients in esphome?
I would like to publish my sensor value do 2 different mqtt brokers. How do I get this working?

Tks!

PS: Only sensor values, do not need to control anything in my ESP device.

I don’t know the answer, but an alternative consideration is broker-to-broker, sometimes referred to as bridging. If you use mosquitto, you can configure the broker to connect to another broker and configure it for what topics to send/receive. So you could get your ESPHome to publish/subscribe to broker A and then have broker A connect to broker B and to send/receive these same topics.

Tks! I’ll look into this solution!