Lib para usar com Arduino e ESP32 para MQTT
https://github.com/marvinroger/async-mqtt-client
Instalação
Seguir as instruções aqui: https://github.com/marvinroger/async-mqtt-client/blob/develop/docs/1.-Getting-started.md#installing-asyncmqttclient
Pesquisar
Lib para usar com Arduino e ESP32 para MQTT
https://github.com/marvinroger/async-mqtt-client
Seguir as instruções aqui: https://github.com/marvinroger/async-mqtt-client/blob/develop/docs/1.-Getting-started.md#installing-asyncmqttclient