You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/07 21:17:00 UTC

[jira] [Commented] (ARTEMIS-2476) New MQTT subscriptions receive older (not last published) retained message.

    [ https://issues.apache.org/jira/browse/ARTEMIS-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054208#comment-17054208 ] 

ASF subversion and git services commented on ARTEMIS-2476:
----------------------------------------------------------

Commit e608c9af2cda8e3ebd92e220223c17906c6efc02 in activemq-artemis's branch refs/heads/master from Assen Sharlandjiev
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=e608c9a ]

fix for #ARTEMIS-2476

> New MQTT subscriptions receive older (not last published) retained message.
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2476
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2476
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.10.0, 2.10.1
>            Reporter: Assen Sharlandjiev
>            Priority: Blocker
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> I have observed that new MQTT subscriptions on a given topic, receive older retained messages. Instead of getting the latest retained message published on the topic, the new subscription received an older message, published before that last one. 
>  
> I have created a [mqtt-test|https://github.com/assens/mqtt-test] project that demonstrated the problem.  Check the readme, and run the Artemis broker test:
>  
> mvn -Dtest=ArtemisTest verify
>  
>  The test project contains multiple MQTT brokers tests. Only Artemis broker tests fail.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)