Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5185

Duplicate messages occur for MQTT cleanSession=false client with network of brokers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.9.1
    • None
    • MQTT
    • Linux. Python client using MQTT Paho library version 0.9

    Description

      Duplicates delivery of messages occur when connecting to a network of brokers with an MQTT client with cleansession=false.
      Steps to reproduce test:
      1. Form network of brokers A and B
      2. Connect "client1" with cleansession=false to broker A and subscribe to topic "paho/test". Make sure client_id is set to "client1".
      3. Disconnect client1
      4. Connect "client2" to broker A and publish single message "hello" to topic "paho/test".
      5. Connect "client1" to broker A and subscribe to "paho/test". Message "hello" would be received.
      6. Disconnect "client1"
      7. Connect "client1" to broker B and subscribe to "paho/test". Message "hello" would be received (again).

      Behavior is the same for publishing with qos=0,1,2.

      Attachments

        Issue Links

          Activity

            People

              mattrpav Matt Pavlovich
              pcarman Paddy
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: