eclipse-paho / eclipse-paho/paho.mqtt.java

Impact of connecting to broker which supports MQTT 5.0 specification

Open
#715 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Please fill out the form below before submitting, thank you!

- [ ] Bug exists Release Version 1.2.2 ( Master Branch)
- [ ] Bug exists in MQTTv3 Client on Snapshot Version 1.2.3-SNAPSHOT (Develop Branch)
- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.3-SNAPSHOT (Develop Branch)

If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new

Hi,
I am connecting to VerneMQ latest version (which supports MQTT 5.0 specs) through Eclipse paho java client 1.2.1 version.
**I need to know what can be the adverse impact of connecting to vernemq** **which supports** **MQTT 5.0 specs and paho doesn't support 5.0 specs**. Coz the shared subscription feature (the feature which I care for) on VerneMQ is anyways working fine, which I tested it.
Do I need to take some special care while connecting to VerneMQ OR Do I need to wait till Paho java client for MQTT 5.0 specs is released ?

Below is the code through which I am connecting to VerneMQ:
public MqttClient getClient(final String clientId) throws MqttException {
final MqttClient mqttClient = new MqttClient("192.168.0.1", clientId);
final MqttConnectOptions connectOptions = new MqttConnectOptions();
connectOptions.setCleanSession(false);
connectOptions.setAutomaticReconnect(true);
connectOptions.setServerURIs(new String[] { "192.168.0.1", "192.168.0.2", "192.168.0.3" });
mqttClient.connect(connectOptions);
return mqttClient;
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.