Open escoand opened 3 years ago
@rdasgupt If I submit a PR for this fix today can I be sure that it will be reviewed and, if acceptable, merged for the next release?
This still occurs with 1.2.5 and still requires the workaround.
Do you happen to have any updates on this?
How and why is this still open?
I have just encountered the same problem. Is still an issue version 1.2.5
I can confirm that the problem is still present in version 1.2.5
1.2.6-SNAPSHOT
doesn't exist in the repository.When subscribing to a topic with the call
client.subscribe(new MqttSubscription(topic, DEFAULT_QOS), listener);
I get the following exception:The reason is this https://github.com/eclipse/paho.mqtt.java/blob/6f35dcb785597a6fd49091efe2dba47513939420/org.eclipse.paho.mqttv5.client/src/main/java/org/eclipse/paho/mqttv5/client/MqttAsyncClient.java#L1202-L1207 in connection with https://github.com/eclipse/paho.mqtt.java/blob/6f35dcb785597a6fd49091efe2dba47513939420/org.eclipse.paho.mqttv5.client/src/main/java/org/eclipse/paho/mqttv5/client/MqttAsyncClient.java#L1272-L1276
Why and how to set a subId when there is this shorthand method?
Workaround is simple by creating the
MqttProperties
self.