mosquitto broker retain multiple messages
问题 I am having mosquitto broker running on Ubuntu on EC2. Also I did a change max_queued_messages 1000 and max_inflight_messages 10 in /etc/mosquitto/mosquitto.conf I am publishing to this broker with qos=2 and retain enabled . For publishing I am using mosquitto_pub -t 1 -m "{c:{d:\"pN\",m:\"Pr1\"}}" -r -q 2 . And subscriber side I am using org.eclipse.paho.android.service:1.0.2 library with same qos=2. and only providing single option by options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_3