Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2476

New MQTT subscriptions receive older (not last published) retained message.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.10.0, 2.10.1
    • Fix Version/s: None
    • Component/s: MQTT
    • Labels:
      None

      Description

      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 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.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                assens Assen Sharlandjiev
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m