HiveMQ MQTT client

Does hivemq mqtt (java)client support Mosquitto and EMQX mqtt brokers as well?

Hello @poorvi.ijantkar

Welcome to HiveMQ Community! Yes, HiveMQ MQTT Java client, is designed to be compatible with the MQTT 3.1.1 and MQTT 5.0 protocol specifications. Therefore, it can connect to any MQTT broker that adheres to these standards.

Kind regards,
Diego from HiveMQ Team

Thanks @Diego .Can u suggest which is a better client PAHO or HIVEMQ client to connect to HIVEMQ MQTT3.1.1 and for MQTT 5.0?

Hello @poorvi.ijantkar

You’re welcome. While both clients can connect to the HiveMQ broker seamlessly, using the HiveMQ client may offer some advantages in terms of optimizations and compatibility, especially if you’re taking advantage of specific HiveMQ features. In any case, the specific needs and context of your project will guide the best choice. Both clients are robust and reliable, and the decision might come down to the particular features, language preference, or integration requirements you have.

Kind regards,
Diego from HiveMQ Team