activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otavio Rodolfo Piske (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1040) MQTT: Investigate handling of duplicate messages
Date Wed, 15 Mar 2017 14:30:41 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Otavio Rodolfo Piske updated ARTEMIS-1040:
------------------------------------------
    Attachment: mosquito-test.txt
                artemis-test.txt

Artemis and Mosquitto logs.

> MQTT: Investigate handling of duplicate messages
> ------------------------------------------------
>
>                 Key: ARTEMIS-1040
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1040
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Otavio Rodolfo Piske
>         Attachments: artemis-test.txt, mosquito-test.txt
>
>
> When running the Eclipse's Paho MQTT C tests on top of the broker, one of the tests fail
because all the messages received seem to have the duplicate flag. 
> The test flow is similar to this: 
> 1. Connect to the broker with QoS 1 and clean session 1.
> 2. Sends a batch of 3 messages and disconnect right after that. 
> 3. Perform internal verification of pending deliveries and cleanup (possibly non important
for the test).
> 4. Connect again using the same connection options as before. At this point, the client
seems to automatically resend the messages (possibly due to the lack of the PUBACK).
> 5. Tries to receive the 3 messages sent. At this point, the behavior between Artemis
and Mosquitto differ: Mosquitto replies back with 6 messages (of those 3 are marked as duplicate
and 3 are not marked). Artemis replies back with 6 messages and all of them are marked as
duplicate.
> I am not entirely sure if this is a bug or not, but I am opening a ticket based on my
discussion with the developers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message