17-08-10 1946300446 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <1>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946320399 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <2>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946320400 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <3>, qos <2>, body <...>, isDuplicate <false>.
NOT EXPECTED vvvv
17-08-10 1946330545 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <2>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946330545 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <3>, qos <2>, body <...>, isDuplicate <false>.
NOT EXPECTED ^^^^
17-08-10 1946340439 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <4>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946360396 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <5>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946370583 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <5>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946380394 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <6>, qos <2>, body <...>, isDuplicate <false>.
17-08-10 1946390591 DEBUG MQTTSource.messageArrived: MqttClient with id <client_sub> received and passed on this message from the MQTT broker: id <6>, qos <2>, body <...>, isDuplicate <false>.
mosquitto server log:
1502390751: Sending PUBLISH to client_sub (d0, q2, r0, m1, 'topic_1', ... (666 bytes))
1502390751: client_sub 2 topic_1
1502390752: Received PUBREC from client_sub (Mid: 1)
1502390752: Sending PUBREL to client_sub (Mid: 1)
1502390753: Received PUBCOMP from client_sub (Mid: 1)
NOT EXPECTED vvvv (sent 2 msgs at the same time - so 2 are in flight at the same time)
1502390753: Sending PUBLISH to client_sub (d0, q2, r0, m2, 'topic_1', ... (665 bytes))
1502390753: Sending PUBLISH to client_sub (d0, q2, r0, m3, 'topic_1', ... (668 bytes))
1502390753: Received PUBREC from client_sub (Mid: 2)
1502390753: Sending PUBREL to client_sub (Mid: 2)
1502390753: Received PUBREC from client_sub (Mid: 3)
1502390753: Sending PUBREL to client_sub (Mid: 3)
NOT EXPECTED ^^^^
NOT EXPECTED vvvv (PUBRELS are expected but because two msgs are sent at the same time before we have a PUBREL for msg 2 after the PUBLISH from msg 3 which is not expected)
1502390755: Sending PUBREL to client_sub (Mid: 2)
1502390755: Sending PUBREL to client_sub (Mid: 3)
1502390755: Received PUBCOMP from client_sub (Mid: 2)
1502390755: Received PUBCOMP from client_sub (Mid: 3)
NOT EXPECTED ^^^^
1502390755: Sending PUBLISH to client_sub (d0, q2, r0, m4, 'topic_1', ... (666 bytes))
1502390755: Received PUBREC from client_sub (Mid: 4)
1502390755: Sending PUBREL to client_sub (Mid: 4)
1502390757: Received PUBCOMP from client_sub (Mid: 4)
1502390757: Sending PUBLISH to client_sub (d0, q2, r0, m5, 'topic_1', ... (667 bytes))
1502390757: Received PUBREC from client_sub (Mid: 5)
1502390757: Sending PUBREL to client_sub (Mid: 5)
1502390759: Sending PUBREL to client_sub (Mid: 5)
1502390759: Received PUBCOMP from client_sub (Mid: 5)
1502390759: Sending PUBLISH to client_sub (d0, q2, r0, m6, 'topic_1', ... (667 bytes))
1502390759: Received PUBREC from client_sub (Mid: 6)
1502390759: Sending PUBREL to client_sub (Mid: 6)
1502390761: Sending PUBREL to client_sub (Mid: 6)
1502390761: Received PUBCOMP from client_sub (Mid: 6)