src/main/java/com/fzzy/mqtt/MqttProviderConfig.java
@@ -37,6 +37,7 @@ hostList.toArray(serverURIs); mqttConnectOptions.setServerURIs(serverURIs); mqttConnectOptions.setKeepAliveInterval(mqttProperties.getKeepAliveInterval()); return mqttConnectOptions; }